Versions in this module Expand all Collapse all v0 v0.3.0 Jul 26, 2025 v0.2.0 Jul 19, 2025 v0.1.0 Jul 11, 2025 Changes in this version + func Print(node Node) + func String(node Node) string + func Walk(v Visitor, node Node) + type AssignStmt struct + Assign token.Pos + Doc *CommentGroup + Lhs Expr + Rhs Expr + func (s *AssignStmt) End() token.Pos + func (s *AssignStmt) Pos() token.Pos + type BasicLit struct + Kind token.Token + Value string + ValuePos token.Pos + func (e *BasicLit) String() string + func (x *BasicLit) End() token.Pos + func (x *BasicLit) Pos() token.Pos + type BinaryExpr struct + Op token.Token + OpPos token.Pos + X Expr + Y Expr + func (e *BinaryExpr) String() string + func (x *BinaryExpr) End() token.Pos + func (x *BinaryExpr) Pos() token.Pos + type BlockStmt struct + List []Stmt + func (s *BlockStmt) End() token.Pos + func (s *BlockStmt) Pos() token.Pos + type CallExpr struct + Func Expr + Lparen token.Pos + Recv []Expr + Rparen token.Pos + func (e *CallExpr) String() string + func (x *CallExpr) End() token.Pos + func (x *CallExpr) Pos() token.Pos + type CallStmt struct + Call token.Pos + Name *Ident + Recv []Expr + func (s *CallStmt) End() token.Pos + func (s *CallStmt) Pos() token.Pos + type CaseStmt struct + Body *BlockStmt + Case token.Pos + Cond Expr + Doc *CommentGroup + type ClassDecl struct + Class token.Pos + Doc *CommentGroup + EndClass token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Stmts []Stmt + func (d *ClassDecl) End() token.Pos + func (d *ClassDecl) Pos() token.Pos + type CmdExpr struct + Cmd Expr + Recv []Expr + func (e *CmdExpr) String() string + func (x *CmdExpr) End() token.Pos + func (x *CmdExpr) Pos() token.Pos + type Comment struct + Text string + Tok token.Token + TokPos token.Pos + func (c *Comment) End() token.Pos + func (c *Comment) Pos() token.Pos + type CommentGroup struct + List []*Comment + func (g *CommentGroup) End() token.Pos + func (g *CommentGroup) Pos() token.Pos + type ConstStmt struct + Assign token.Pos + Const token.Pos + Doc *CommentGroup + Lhs Expr + Modifier token.Token + ModifierPos token.Pos + Rhs Expr + func (s *ConstStmt) End() token.Pos + func (s *ConstStmt) Pos() token.Pos + type DimDecl struct + Colon token.Pos + Dim token.Pos + Doc *CommentGroup + List []Expr + Set *SetStmt + func (d *DimDecl) End() token.Pos + func (s *DimDecl) Pos() token.Pos + type DoLoopStmt struct + Body *BlockStmt + Cond Expr + Do token.Pos + Doc *CommentGroup + Loop token.Pos + Pre bool + Tok token.Token + TokPos token.Pos + func (s *DoLoopStmt) End() token.Pos + func (s *DoLoopStmt) Pos() token.Pos + type EraseStmt struct + Doc *CommentGroup + Erase token.Pos + X Expr + func (s *EraseStmt) End() token.Pos + func (s *EraseStmt) Pos() token.Pos + type ExecuteStmt struct + Doc *CommentGroup + Execute token.Pos + Statement string + func (s *ExecuteStmt) End() token.Pos + func (s *ExecuteStmt) Pos() token.Pos + type ExitStmt struct + Doc *CommentGroup + Exit token.Pos + Tok token.Token + func (s *ExitStmt) End() token.Pos + func (s *ExitStmt) Pos() token.Pos + type Expr interface + String func() string + type ExprStmt struct + Doc *CommentGroup + X Expr + func (s *ExprStmt) End() token.Pos + func (s *ExprStmt) Pos() token.Pos + type Field struct + Name *Ident + Tok token.Token + TokPos token.Pos + func (f *Field) End() token.Pos + func (f *Field) Pos() token.Pos + func (f *Field) String() string + type File struct + Doc []*CommentGroup + Stmts []Stmt + func (*File) Pos() token.Pos + func (f *File) End() token.Pos + type ForEachStmt struct + Body *BlockStmt + Doc *CommentGroup + Each token.Pos + Elem Expr + For token.Pos + Group Expr + In token.Pos + Next token.Pos + Stmt Stmt + func (s *ForEachStmt) End() token.Pos + func (s *ForEachStmt) Pos() token.Pos + type ForNextStmt struct + Body *BlockStmt + Doc *CommentGroup + End_ Expr + For token.Pos + Next token.Pos + Start Expr + Step Expr + StepPos token.Pos + To token.Pos + func (s *ForNextStmt) End() token.Pos + func (s *ForNextStmt) Pos() token.Pos + type FuncDecl struct + Body *BlockStmt + Default token.Pos + Doc *CommentGroup + EndFunc token.Pos + Function token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Recv []*Field + func (d *FuncDecl) End() token.Pos + func (d *FuncDecl) Pos() token.Pos + type Ident struct + Name string + NamePos token.Pos + func (e *Ident) String() string + func (x *Ident) End() token.Pos + func (x *Ident) Pos() token.Pos + type IfStmt struct + Body *BlockStmt + Cond Expr + Doc *CommentGroup + Else Stmt + EndIf token.Pos + If token.Pos + Then token.Pos + func (s *IfStmt) End() token.Pos + func (s *IfStmt) Pos() token.Pos + type IndexExpr struct + Index Expr + Lparen token.Pos + Rparen token.Pos + X Expr + func (e *IndexExpr) String() string + func (x *IndexExpr) End() token.Pos + func (x *IndexExpr) Pos() token.Pos + type IndexListExpr struct + Indices []Expr + Lparen token.Pos + Rparen token.Pos + X Expr + func (e *IndexListExpr) String() string + func (x *IndexListExpr) End() token.Pos + func (x *IndexListExpr) Pos() token.Pos + type NewExpr struct + New token.Pos + X Expr + func (e *NewExpr) String() string + func (x *NewExpr) End() token.Pos + func (x *NewExpr) Pos() token.Pos + type Node interface + End func() token.Pos + Pos func() token.Pos + type OnErrorGoto struct + GoTo token.Pos + Zero token.Pos + type OnErrorResume struct + Next token.Pos + Resume token.Pos + type OnErrorStmt struct + Doc *CommentGroup + Error token.Pos + On token.Pos + func (s *OnErrorStmt) End() token.Pos + func (s *OnErrorStmt) Pos() token.Pos + type OptionStmt struct + Doc *CommentGroup + Explicit token.Pos + Option token.Pos + func (s *OptionStmt) End() token.Pos + func (s *OptionStmt) Pos() token.Pos + type PrivateStmt struct + Doc *CommentGroup + List []Expr + Private token.Pos + func (s *PrivateStmt) End() token.Pos + func (s *PrivateStmt) Pos() token.Pos + type PropertyGetStmt struct + Body *BlockStmt + Doc *CommentGroup + EndProverty token.Pos + Get token.Pos + LParen token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Property token.Pos + RParen token.Pos + Recv []*Field + func (d *PropertyGetStmt) End() token.Pos + func (d *PropertyGetStmt) Pos() token.Pos + type PropertyLetStmt struct + Body *BlockStmt + Doc *CommentGroup + EndProverty token.Pos + LParen token.Pos + Let token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Property token.Pos + RParen token.Pos + Recv []*Field + func (d *PropertyLetStmt) End() token.Pos + func (d *PropertyLetStmt) Pos() token.Pos + type PropertySetStmt struct + Body *BlockStmt + Doc *CommentGroup + EndProverty token.Pos + LParen token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Property token.Pos + RParen token.Pos + Recv []*Field + Set token.Pos + func (d *PropertySetStmt) End() token.Pos + func (d *PropertySetStmt) Pos() token.Pos + type PropertyStmt struct + Body *BlockStmt + Doc *CommentGroup + EndProverty token.Pos + LParen token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Property token.Pos + RParen token.Pos + Recv []*Field + type PublicStmt struct + Doc *CommentGroup + List []Expr + Public token.Pos + func (s *PublicStmt) End() token.Pos + func (s *PublicStmt) Pos() token.Pos + type RandomizeStmt struct + Doc *CommentGroup + Randomize token.Pos + func (s *RandomizeStmt) End() token.Pos + func (s *RandomizeStmt) Pos() token.Pos + type ReDimDecl struct + Doc *CommentGroup + List []Expr + Preserve token.Pos + ReDim token.Pos + func (d *ReDimDecl) End() token.Pos + func (s *ReDimDecl) Pos() token.Pos + type SelectStmt struct + Cases []*CaseStmt + Doc *CommentGroup + Else *CaseStmt + EndSelect token.Pos + Select token.Pos + Var Expr + func (s *SelectStmt) End() token.Pos + func (s *SelectStmt) Pos() token.Pos + type SelectorExpr struct + Sel Expr + X Expr + func (e *SelectorExpr) String() string + func (x *SelectorExpr) End() token.Pos + func (x *SelectorExpr) Pos() token.Pos + type SetStmt struct + Assign token.Pos + Doc *CommentGroup + Lhs Expr + Rhs Expr + Set token.Pos + func (s *SetStmt) End() token.Pos + func (s *SetStmt) Pos() token.Pos + type Stmt interface + type StopStmt struct + Doc *CommentGroup + Stop token.Pos + func (s *StopStmt) End() token.Pos + func (s *StopStmt) Pos() token.Pos + type SubDecl struct + Body *BlockStmt + Doc *CommentGroup + EndSub token.Pos + Mod token.Token + ModPos token.Pos + Name *Ident + Recv []*Field + Sub token.Pos + func (d *SubDecl) End() token.Pos + func (d *SubDecl) Pos() token.Pos + type Visitor interface + Visit func(node Node) (w Visitor) + type WhileWendStmt struct + Body *BlockStmt + Cond Expr + Doc *CommentGroup + Wend token.Pos + While token.Pos + func (s *WhileWendStmt) End() token.Pos + func (s *WhileWendStmt) Pos() token.Pos + type WithStmt struct + Body *BlockStmt + Cond Expr + Doc *CommentGroup + EndWith token.Pos + With token.Pos + func (s *WithStmt) End() token.Pos + func (s *WithStmt) Pos() token.Pos