DeclarationContext

This helper class contains values needed to properly decide in which state const declaration / specifications are in.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The current initializers in a list representing the different "columns". For example in the following code:

Link copied to clipboard

The current const type, which is valid until a new initializer is present

Link copied to clipboard
Link copied to clipboard

The current value of iota. This needs to be reset for each GoStandardLibrary.Ast.GenDecl and incremented for each observed GoStandardLibrary.Ast.ValueSpec.