Node class representing an Identifier. An identifier is a name, be it for a function, variable, etc
An Identifier is classed as an
Expression because of situations such as
let x: int = y.
In this case,
y is an identifier (a variable) that returns a value.
We could have separate identifier tokens for left and right sides of an
= symbol but that overcomplicates things a bit.
Direct Known Subclasses
Instance Method Summary
- #literal : String
- #to_s : String
#token : Drizzle::Token
The token that caused the generation of this node
#value : String
The value of the identifier