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



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

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

Instance Method Details

#accept(visitor) ⇒ Object



593
594
595
596
597
598
599
# File 'lib/modl/parser/MODLParser.rb', line 593

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

#COLONObject



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

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

#COLON_i(i) ⇒ Object



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

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

#enter_rule(listener) ⇒ Object



582
583
584
585
586
# File 'lib/modl/parser/MODLParser.rb', line 582

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

#exit_rule(listener) ⇒ Object



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

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

#getRuleIndexObject



579
580
581
# File 'lib/modl/parser/MODLParser.rb', line 579

def getRuleIndex()
 return RULE_modl_nb_array
end

#modl_array_itemObject



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

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

#modl_array_item_i(i) ⇒ Object



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

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