Class: MODL::Parser::MODLParser::Modl_operatorContext

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

Instance Method Summary collapse

Constructor Details

#initialize(parent, invokingState) ⇒ Modl_operatorContext

Returns a new instance of Modl_operatorContext.



1826
1827
1828
# File 'lib/modl/parser/MODLParser.rb', line 1826

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

Instance Method Details

#accept(visitor) ⇒ Object



1843
1844
1845
1846
1847
1848
1849
# File 'lib/modl/parser/MODLParser.rb', line 1843

def accept(visitor)
    if (visitor.respond_to?(:visitModl_operator))
	  return visitor.visitModl_operator(self)
    else
	 return visitor.visit_children(self)
    end
end

#enter_rule(listener) ⇒ Object



1832
1833
1834
1835
1836
# File 'lib/modl/parser/MODLParser.rb', line 1832

def enter_rule( listener)
    if (listener.respond_to?(:enterModl_operator))
	  listener.enterModl_operator(self)
    end
end

#EQUALSObject



1814
1815
1816
# File 'lib/modl/parser/MODLParser.rb', line 1814

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

#EXCLAMObject



1823
1824
1825
# File 'lib/modl/parser/MODLParser.rb', line 1823

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

#exit_rule(listener) ⇒ Object



1837
1838
1839
1840
1841
# File 'lib/modl/parser/MODLParser.rb', line 1837

def exit_rule( listener)
    if (listener.respond_to?(:exitModl_operator))
	  listener.exitModl_operator(self)
    end
end

#getRuleIndexObject



1829
1830
1831
# File 'lib/modl/parser/MODLParser.rb', line 1829

def getRuleIndex()
 return RULE_modl_operator
end

#GTHANObject



1817
1818
1819
# File 'lib/modl/parser/MODLParser.rb', line 1817

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

#LTHANObject



1820
1821
1822
# File 'lib/modl/parser/MODLParser.rb', line 1820

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