Class: MODL::Parser::MODLParser::Modl_structureContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- MODL::Parser::MODLParser::Modl_structureContext
- 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_structureContext
constructor
A new instance of Modl_structureContext.
- #modl_array ⇒ Object
- #modl_map ⇒ Object
- #modl_pair ⇒ Object
- #modl_top_level_conditional ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_structureContext
Returns a new instance of Modl_structureContext.
253 254 255 |
# File 'lib/modl/parser/MODLParser.rb', line 253 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
270 271 272 273 274 275 276 |
# File 'lib/modl/parser/MODLParser.rb', line 270 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_structure(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
259 260 261 262 263 |
# File 'lib/modl/parser/MODLParser.rb', line 259 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_structure(self) end end |
#exit_rule(listener) ⇒ Object
264 265 266 267 268 |
# File 'lib/modl/parser/MODLParser.rb', line 264 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_structure(self) end end |
#getRuleIndex ⇒ Object
256 257 258 |
# File 'lib/modl/parser/MODLParser.rb', line 256 def getRuleIndex() return RULE_modl_structure end |
#modl_array ⇒ Object
244 245 246 |
# File 'lib/modl/parser/MODLParser.rb', line 244 def modl_array() return rule_context("Modl_arrayContext",0) end |
#modl_map ⇒ Object
241 242 243 |
# File 'lib/modl/parser/MODLParser.rb', line 241 def modl_map() return rule_context("Modl_mapContext",0) end |
#modl_pair ⇒ Object
250 251 252 |
# File 'lib/modl/parser/MODLParser.rb', line 250 def modl_pair() return rule_context("Modl_pairContext",0) end |
#modl_top_level_conditional ⇒ Object
247 248 249 |
# File 'lib/modl/parser/MODLParser.rb', line 247 def modl_top_level_conditional() return rule_context("Modl_top_level_conditionalContext",0) end |