Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDefinition ¶
func IsDefinition(a Assignment) bool
Types ¶
type Assignment ¶
type Assignment struct { Ident *ast.Ident Token token.Token VarExpr ast.Expr NewValueExpr ast.Expr }
Assignment describes an instance of a value being assigned to a variable.
func AssignmentsFromRangeStmtInitializer ¶
func AssignmentsFromRangeStmtInitializer(stmt *ast.RangeStmt) []Assignment
func AssignmentsFromStmt ¶
func AssignmentsFromStmt(stmt *ast.AssignStmt) []Assignment
Click to show internal directories.
Click to hide internal directories.