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.
251 252 253 |
# File 'lib/modl/parser/MODLParser.rb', line 251 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
268 269 270 271 272 273 274 |
# File 'lib/modl/parser/MODLParser.rb', line 268 def accept(visitor) if (visitor.respond_to?(:visitModl_structure)) return visitor.visitModl_structure(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
257 258 259 260 261 |
# File 'lib/modl/parser/MODLParser.rb', line 257 def enter_rule( listener) if (listener.respond_to?(:enterModl_structure)) listener.enterModl_structure(self) end end |
#exit_rule(listener) ⇒ Object
262 263 264 265 266 |
# File 'lib/modl/parser/MODLParser.rb', line 262 def exit_rule( listener) if (listener.respond_to?(:exitModl_structure)) listener.exitModl_structure(self) end end |
#getRuleIndex ⇒ Object
254 255 256 |
# File 'lib/modl/parser/MODLParser.rb', line 254 def getRuleIndex() return RULE_modl_structure end |
#modl_array ⇒ Object
242 243 244 |
# File 'lib/modl/parser/MODLParser.rb', line 242 def modl_array() return rule_context("Modl_arrayContext",0) end |
#modl_map ⇒ Object
239 240 241 |
# File 'lib/modl/parser/MODLParser.rb', line 239 def modl_map() return rule_context("Modl_mapContext",0) end |
#modl_pair ⇒ Object
248 249 250 |
# File 'lib/modl/parser/MODLParser.rb', line 248 def modl_pair() return rule_context("Modl_pairContext",0) end |
#modl_top_level_conditional ⇒ Object
245 246 247 |
# File 'lib/modl/parser/MODLParser.rb', line 245 def modl_top_level_conditional() return rule_context("Modl_top_level_conditionalContext",0) end |