Class: MODL::Parser::MODLParser::Modl_nb_arrayContext

Inherits:
Antlr4::Runtime::ParserRuleContext
  • Object
show all
Defined in:
lib/modl/parser/MODLParser.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent, invokingState) ⇒ Modl_nb_arrayContext

Returns a new instance of Modl_nb_arrayContext.



569
570
571
# File 'lib/modl/parser/MODLParser.rb', line 569

def initialize( parent,  invokingState)
	super(parent, invokingState)
end

Instance Method Details

#accept(visitor) ⇒ Object



586
587
588
589
590
591
592
# File 'lib/modl/parser/MODLParser.rb', line 586

def accept(visitor)
	if ( visitor.is_a? MODLParserVisitor )
	  return visitor.visitModl_nb_array(self)
	else
	 return visitor.visit_children(self)
	end
end

#COLONObject



563
564
565
# File 'lib/modl/parser/MODLParser.rb', line 563

def COLON()
 return tokens(MODLParser::COLON)
end

#COLON_i(i) ⇒ Object



566
567
568
# File 'lib/modl/parser/MODLParser.rb', line 566

def COLON_i( i)
	return token(MODLParser::COLON, i)
end

#enter_rule(listener) ⇒ Object



575
576
577
578
579
# File 'lib/modl/parser/MODLParser.rb', line 575

def enter_rule( listener)
	if ( listener.is_a? MODLParserListener )
	  listener.enterModl_nb_array(self)
	end
end

#exit_rule(listener) ⇒ Object



580
581
582
583
584
# File 'lib/modl/parser/MODLParser.rb', line 580

def exit_rule( listener)
	if ( listener.is_a? MODLParserListener )
	  listener.exitModl_nb_array(self)
	end
end

#getRuleIndexObject



572
573
574
# File 'lib/modl/parser/MODLParser.rb', line 572

def getRuleIndex()
 return RULE_modl_nb_array
end

#modl_array_itemObject



557
558
559
# File 'lib/modl/parser/MODLParser.rb', line 557

def modl_array_item()
	return rule_contexts("Modl_array_itemContext")
end

#modl_array_item_i(i) ⇒ Object



560
561
562
# File 'lib/modl/parser/MODLParser.rb', line 560

def modl_array_item_i( i)
	return rule_context("Modl_array_itemContext",i)
end