class Savi::AST::Declare

Defined in:

savi/ast.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(terms : Array(Savi::AST::Node) = [] of Term) #

[View source]

Instance Method Detail

def body : Group | Nil #

[View source]
def body=(body : Group | Nil) #

[View source]
def children_accept(ctx : Compiler::Context, visitor : Visitor) #

[View source]
def children_accept(ctx : Compiler::Context, visitor : CopyOnMutateVisitor) #

[View source]
def declarator : Program::Declarator | Nil #

[View source]
def declarator=(declarator : Program::Declarator | Nil) #

[View source]
def declare_depth : Int32 #

[View source]
def declare_depth=(declare_depth : Int32) #

[View source]
def keyword #

[View source]
def name #

[View source]
def nested : Array(Savi::AST::Declare) #

[View source]
def nested=(nested : Array(Savi::AST::Declare)) #

[View source]
def span_pos(source) #

[View source]
def terms : Array(Term) #

[View source]
def terms=(terms : Array(Term)) #

[View source]
def to_a : Array(A) #

[View source]