Ameba::AST::Reference - ameba 1.7.0

# 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 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, assignments : Array(Ameba::AST::Assignment) assignments, captured_by_block?(scope = @scope) captured_by_block?, 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, 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 #