DeclarationContext
class DeclarationContext
This helper class contains values needed to properly decide in which state const declaration / specifications are in.
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 GoStandardLibrary.Ast.GenDecl that is being processed.
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.