Class: Treetop::Runtime::SyntaxNode

Inherits:
Object
  • Object
show all
Includes:
JPTType
Defined in:
lib/parser/jpt-util.rb

Constant Summary

Constants included from JPTType

JPTType::FUNCSIG_CHARS, JPTType::FUNCTABLE

Instance Method Summary collapse

Methods included from JPTType

add_funcsig, #declared_as, #declared_type, #query_singular?

Instance Method Details

#astObject



7
8
9
# File 'lib/parser/jpt-util.rb', line 7

def ast
  fail "undefined_ast #{inspect}"
end

#ast1Object

devhack



10
11
12
# File 'lib/parser/jpt-util.rb', line 10

def ast1                      # devhack
  "#{inspect[10..20]}--#{text_value[0..15]}"
end