class Savi::AST::Declare
- Savi::AST::Declare
- Savi::AST::Node
- Reference
- Object
Defined in:
savi/ast.crConstructors
Instance Method Summary
- #body : Group | Nil
- #body=(body : Group | Nil)
- #children_accept(ctx : Compiler::Context, visitor : Visitor)
- #children_accept(ctx : Compiler::Context, visitor : CopyOnMutateVisitor)
- #declarator : Program::Declarator | Nil
- #declarator=(declarator : Program::Declarator | Nil)
- #declare_depth : Int32
- #declare_depth=(declare_depth : Int32)
- #keyword
- #name
- #nested : Array(Savi::AST::Declare)
- #nested=(nested : Array(Savi::AST::Declare))
- #span_pos(source)
- #terms : Array(Term)
- #terms=(terms : Array(Term))
- #to_a : Array(A)
Instance methods inherited from class Savi::AST::Node
accept(ctx : Compiler::Context, visitor : Visitor)accept(ctx : Compiler::Context, visitor : CopyOnMutateVisitor) accept, annotations : Array(Annotation) | Nil annotations, annotations=(annotations : Array(Annotation) | Nil) annotations=, children_accept(ctx : Compiler::Context, visitor : Visitor)
children_accept(ctx : Compiler::Context, visitor : CopyOnMutateVisitor) children_accept, from(other : Node) from, pos pos, pos? : Savi::Source::Pos? pos?, span_pos(source) span_pos, with_pos(pos : Source::Pos) with_pos