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.
1445 1446 1447 |
# File 'lib/modl/parser/MODLParser.rb', line 1445 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
1462 1463 1464 1465 1466 1467 1468 |
# File 'lib/modl/parser/MODLParser.rb', line 1462 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
1451 1452 1453 1454 1455 |
# File 'lib/modl/parser/MODLParser.rb', line 1451 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_array_item(self) end end |
#exit_rule(listener) ⇒ Object
1456 1457 1458 1459 1460 |
# File 'lib/modl/parser/MODLParser.rb', line 1456 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_array_item(self) end end |
#getRuleIndex ⇒ Object
1448 1449 1450 |
# File 'lib/modl/parser/MODLParser.rb', line 1448 def getRuleIndex() return RULE_modl_array_item end |
#modl_array_conditional ⇒ Object
1442 1443 1444 |
# File 'lib/modl/parser/MODLParser.rb', line 1442 def modl_array_conditional() return rule_context("Modl_array_conditionalContext",0) end |
#modl_array_value_item ⇒ Object
1439 1440 1441 |
# File 'lib/modl/parser/MODLParser.rb', line 1439 def modl_array_value_item() return rule_context("Modl_array_value_itemContext",0) end |