class Savi::AST::Qualify
- Savi::AST::Qualify
- Savi::AST::Node
- Reference
- Object
Overview
A Qualify is an AST node containing a Term to which a Group is applied. This is commonly used in both function calls and generic type instances, such as in the following example demonstrating both:
example Map(String, U64) = Settings.read(content, true) ^~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
Defined in:
savi/ast.crConstructors
Instance Method Summary
- #children_accept(ctx : Compiler::Context, visitor : Visitor)
- #children_accept(ctx : Compiler::Context, visitor : CopyOnMutateVisitor)
- #group : Savi::AST::Group
- #group=(group : Savi::AST::Group)
- #name
- #span_pos(source)
- #term : Savi::AST::Node
- #term=(term : Savi::AST::Node)
- #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