class

DoisC::ASTData::Identifier

Inherits DoisC::ASTData::Node < Reference < Object

An identifier representing a binding, variable, or function call

Constructors

new(name : String, module_names : Array(String), accessor_names : Array(String), source_location : SourceLocation)
Source

Instance methods

accessor_names
Source
module_names
Source
name
Source
symbol_ref
Source
symbol_ref=(symbol_ref : SymbolRef | Nil)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source