Class: MODL::Parser::MODLParser::Modl_mapContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- MODL::Parser::MODLParser::Modl_mapContext
- Defined in:
- lib/modl/parser/MODLParser.rb
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #enter_rule(listener) ⇒ Object
- #exit_rule(listener) ⇒ Object
- #getRuleIndex ⇒ Object
-
#initialize(parent, invokingState) ⇒ Modl_mapContext
constructor
A new instance of Modl_mapContext.
- #LBRAC ⇒ Object
- #modl_map_item ⇒ Object
- #modl_map_item_i(i) ⇒ Object
- #RBRAC ⇒ Object
- #STRUCT_SEP ⇒ Object
- #STRUCT_SEP_i(i) ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_mapContext
Returns a new instance of Modl_mapContext.
341 342 343 |
# File 'lib/modl/parser/MODLParser.rb', line 341 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
358 359 360 361 362 363 364 |
# File 'lib/modl/parser/MODLParser.rb', line 358 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_map(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
347 348 349 350 351 |
# File 'lib/modl/parser/MODLParser.rb', line 347 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_map(self) end end |
#exit_rule(listener) ⇒ Object
352 353 354 355 356 |
# File 'lib/modl/parser/MODLParser.rb', line 352 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_map(self) end end |
#getRuleIndex ⇒ Object
344 345 346 |
# File 'lib/modl/parser/MODLParser.rb', line 344 def getRuleIndex() return RULE_modl_map end |
#LBRAC ⇒ Object
323 324 325 |
# File 'lib/modl/parser/MODLParser.rb', line 323 def LBRAC() return token(MODLParser::LBRAC, 0) end |
#modl_map_item ⇒ Object
329 330 331 |
# File 'lib/modl/parser/MODLParser.rb', line 329 def modl_map_item() return rule_contexts("Modl_map_itemContext") end |
#modl_map_item_i(i) ⇒ Object
332 333 334 |
# File 'lib/modl/parser/MODLParser.rb', line 332 def modl_map_item_i( i) return rule_context("Modl_map_itemContext",i) end |
#RBRAC ⇒ Object
326 327 328 |
# File 'lib/modl/parser/MODLParser.rb', line 326 def RBRAC() return token(MODLParser::RBRAC, 0) end |
#STRUCT_SEP ⇒ Object
335 336 337 |
# File 'lib/modl/parser/MODLParser.rb', line 335 def STRUCT_SEP() return tokens(MODLParser::STRUCT_SEP) end |
#STRUCT_SEP_i(i) ⇒ Object
338 339 340 |
# File 'lib/modl/parser/MODLParser.rb', line 338 def STRUCT_SEP_i( i) return token(MODLParser::STRUCT_SEP, i) end |