Module: Treetop::Compiler::Metagrammar::Primary2

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#atomicObject



965
966
967
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 965

def atomic
  elements[0]
end

#node_class_declarationsObject



973
974
975
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 973

def node_class_declarations
  elements[2]
end

#suffixObject



969
970
971
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 969

def suffix
  elements[1]
end