Ameba::AST::Reference - ameba 1.6.4-1-dev

# class Ameba::AST::Reference

- Ameba::AST::Reference
- Ameba::AST::Variable
- Reference
- Object

##
Overview

Represents a reference to the variable. It behaves like a variable is used to distinguish a the variable from its reference.

##
Defined in:

ameba/ast/variabling/reference.cr

##
Instance Method Summary

- #explicit=(explicit : Bool)
- #explicit? : Bool

### Instance methods inherited from class `Ameba::AST::Variable`

assign(node, scope) assign, assign_before_reference : Crystal::ASTNode | Nil assign_before_reference, assignments : Array(Ameba::AST::Assignment) assignments, captured_by_block?(scope = @scope) captured_by_block?, declared_before?(node) declared_before?, end_location(*args, **options)
end_location(*args, **options, &) end_location, eql?(node) eql?, ignored? ignored?, location(*args, **options)
location(*args, **options, &) location, name(*args, **options)
name(*args, **options, &) name, node : Crystal::Var node, reference(node : Crystal::Var, scope : Scope)
reference(scope : Scope) reference, reference_assignments! reference_assignments!, referenced? referenced?, references : Array(Ameba::AST::Reference) references, scope : Scope scope, special? special?, target_of?(assign) target_of?, to_s(*args, **options)
to_s(*args, **options, &) to_s, used_in_macro?(scope = @scope) used_in_macro?

### Constructor methods inherited from class `Ameba::AST::Variable`

new(node : Crystal::Var, scope : Ameba::AST::Scope) new

##
Instance Method Detail

def explicit=(explicit : Bool) #
def explicit? : Bool #