Class: Treetop::Runtime::SyntaxNode
- Inherits:
-
Object
- Object
- Treetop::Runtime::SyntaxNode
- Defined in:
- lib/parser/edn-util.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
10 11 12 |
# File 'lib/parser/edn-util.rb', line 10 def ast fail "undefined_ast #{inspect}" end |
#ast1 ⇒ Object
devhack
13 14 15 |
# File 'lib/parser/edn-util.rb', line 13 def ast1 # devhack "#{inspect[10..20]}--#{text_value[0..15]}" end |
#hex_value ⇒ Object
16 17 18 |
# File 'lib/parser/edn-util.rb', line 16 def hex_value text_value.to_i(16) end |