Class: MODL::Parser::MODLParser::Modl_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_arrayContext

Returns a new instance of Modl_arrayContext.



436
437
438
# File 'lib/modl/parser/MODLParser.rb', line 436

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

Instance Method Details

#accept(visitor) ⇒ Object



453
454
455
456
457
458
459
# File 'lib/modl/parser/MODLParser.rb', line 453

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

#enter_rule(listener) ⇒ Object



442
443
444
445
446
# File 'lib/modl/parser/MODLParser.rb', line 442

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

#exit_rule(listener) ⇒ Object



447
448
449
450
451
# File 'lib/modl/parser/MODLParser.rb', line 447

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

#getRuleIndexObject



439
440
441
# File 'lib/modl/parser/MODLParser.rb', line 439

def getRuleIndex()
 return RULE_modl_array
end

#LSBRACObject



412
413
414
# File 'lib/modl/parser/MODLParser.rb', line 412

def LSBRAC()
  return token(MODLParser::LSBRAC, 0)
end

#modl_array_itemObject



418
419
420
# File 'lib/modl/parser/MODLParser.rb', line 418

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

#modl_array_item_i(i) ⇒ Object



421
422
423
# File 'lib/modl/parser/MODLParser.rb', line 421

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

#modl_nb_arrayObject



424
425
426
# File 'lib/modl/parser/MODLParser.rb', line 424

def modl_nb_array()
	return rule_contexts("Modl_nb_arrayContext")
end

#modl_nb_array_i(i) ⇒ Object



427
428
429
# File 'lib/modl/parser/MODLParser.rb', line 427

def modl_nb_array_i( i)
	return rule_context("Modl_nb_arrayContext",i)
end

#RSBRACObject



415
416
417
# File 'lib/modl/parser/MODLParser.rb', line 415

def RSBRAC()
  return token(MODLParser::RSBRAC, 0)
end

#STRUCT_SEPObject



430
431
432
# File 'lib/modl/parser/MODLParser.rb', line 430

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

#STRUCT_SEP_i(i) ⇒ Object



433
434
435
# File 'lib/modl/parser/MODLParser.rb', line 433

def STRUCT_SEP_i( i)
	return token(MODLParser::STRUCT_SEP, i)
end