Class: Modl::Parser::MODLParser::Modl_map_itemContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- Modl::Parser::MODLParser::Modl_map_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_map_itemContext
constructor
A new instance of Modl_map_itemContext.
- #modl_map_conditional ⇒ Object
- #modl_pair ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_map_itemContext
Returns a new instance of Modl_map_itemContext.
1209 1210 1211 |
# File 'lib/modl/parser/MODLParser.rb', line 1209 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/modl/parser/MODLParser.rb', line 1226 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_map_item(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
1215 1216 1217 1218 1219 |
# File 'lib/modl/parser/MODLParser.rb', line 1215 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_map_item(self) end end |
#exit_rule(listener) ⇒ Object
1220 1221 1222 1223 1224 |
# File 'lib/modl/parser/MODLParser.rb', line 1220 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_map_item(self) end end |
#getRuleIndex ⇒ Object
1212 1213 1214 |
# File 'lib/modl/parser/MODLParser.rb', line 1212 def getRuleIndex() return RULE_modl_map_item end |
#modl_map_conditional ⇒ Object
1206 1207 1208 |
# File 'lib/modl/parser/MODLParser.rb', line 1206 def modl_map_conditional() return rule_context("Modl_map_conditionalContext",0) end |
#modl_pair ⇒ Object
1203 1204 1205 |
# File 'lib/modl/parser/MODLParser.rb', line 1203 def modl_pair() return rule_context("Modl_pairContext",0) end |