Class: MODL::Parser::MODLParser::Modl_array_itemContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- MODL::Parser::MODLParser::Modl_array_itemContext
- 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_array_itemContext
constructor
A new instance of Modl_array_itemContext.
- #modl_array_conditional ⇒ Object
- #modl_array_value_item ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_array_itemContext
Returns a new instance of Modl_array_itemContext.
1434 1435 1436 |
# File 'lib/modl/parser/MODLParser.rb', line 1434 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
1451 1452 1453 1454 1455 1456 1457 |
# File 'lib/modl/parser/MODLParser.rb', line 1451 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_array_item(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
1440 1441 1442 1443 1444 |
# File 'lib/modl/parser/MODLParser.rb', line 1440 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_array_item(self) end end |
#exit_rule(listener) ⇒ Object
1445 1446 1447 1448 1449 |
# File 'lib/modl/parser/MODLParser.rb', line 1445 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_array_item(self) end end |
#getRuleIndex ⇒ Object
1437 1438 1439 |
# File 'lib/modl/parser/MODLParser.rb', line 1437 def getRuleIndex() return RULE_modl_array_item end |
#modl_array_conditional ⇒ Object
1431 1432 1433 |
# File 'lib/modl/parser/MODLParser.rb', line 1431 def modl_array_conditional() return rule_context("Modl_array_conditionalContext",0) end |
#modl_array_value_item ⇒ Object
1428 1429 1430 |
# File 'lib/modl/parser/MODLParser.rb', line 1428 def modl_array_value_item() return rule_context("Modl_array_value_itemContext",0) end |