package
0.3.0
Repository: https://github.com/chavacava/dbc4go.git
Documentation: pkg.go.dev

# Packages

Package generator provides the functions necessary for generating contracts.
Package parser implements contract parsing.

# Functions

No description provided by the author
NewEnsures creates a Ensures object.
NewFuncContract creates a FuncContract.
NewLet creates a Let object Contract: - requires expr != "".
NewRequires creates a Requires object.
NewTypeContract creates a TypeContract.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

OldCounter the counter to use when creating old_ parameters TODO: use a more elegant approach.
Re4old is a regular expression for @old expressions.

# Structs

Ensures is a @ensures clause of a contract.
No description provided by the author
FuncContract represents a contract associated to a function.
Let models a @Let clause.
Requires is a @requires clause of a contract.
TypeContract represents a contract associated to a type.

# Type aliases

No description provided by the author