class MODL::Parser::MODLParser::ModlContext
Public Class Methods
new( parent, invokingState)
click to toggle source
Calls superclass method
# File lib/modl/parser/MODLParser.rb, line 144 def initialize( parent, invokingState) super(parent, invokingState) end
Public Instance Methods
EOF()
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 129 def EOF() return token(MODLParser::EOF, 0) end
STRUCT_SEP()
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 138 def STRUCT_SEP() return tokens(MODLParser::STRUCT_SEP) end
STRUCT_SEP_i( i)
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 141 def STRUCT_SEP_i( i) return token(MODLParser::STRUCT_SEP, i) end
accept(visitor)
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 161 def accept(visitor) if (visitor.respond_to?(:visitModl)) return visitor.visitModl(self) else return visitor.visit_children(self) end end
enter_rule( listener)
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 150 def enter_rule( listener) if (listener.respond_to?(:enterModl)) listener.enterModl(self) end end
exit_rule( listener)
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 155 def exit_rule( listener) if (listener.respond_to?(:exitModl)) listener.exitModl(self) end end
getRuleIndex()
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 147 def getRuleIndex() return RULE_modl end
modl_structure()
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 132 def modl_structure() return rule_contexts("Modl_structureContext") end
modl_structure_i( i)
click to toggle source
# File lib/modl/parser/MODLParser.rb, line 135 def modl_structure_i( i) return rule_context("Modl_structureContext",i) end