struct TopDown::Parser::Token(ValueType)
- TopDown::Parser::Token(ValueType)
- Struct
- Value
- Object
Defined in:
parser/tokens.crConstructors
Instance Method Summary
- #clone
- #copy_with(name _name = @name, value _value = @value)
-
#inspect(io)
Same as
#to_s
. - #name : Symbol
-
#to_s(io)
Token.new(:"+").to_s # => "[+]" Token.new(:name, "foo").to_s # => "[name:foo]"
- #value : ValueType