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.



1840
1841
1842
# File 'lib/modl/parser/MODLParser.rb', line 1840

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

Instance Method Details

#accept(visitor) ⇒ Object



1857
1858
1859
1860
1861
1862
1863
# File 'lib/modl/parser/MODLParser.rb', line 1857

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

#enter_rule(listener) ⇒ Object



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

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

#EQUALSObject



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

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

#EXCLAMObject



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

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

#exit_rule(listener) ⇒ Object



1851
1852
1853
1854
1855
# File 'lib/modl/parser/MODLParser.rb', line 1851

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

#getRuleIndexObject



1843
1844
1845
# File 'lib/modl/parser/MODLParser.rb', line 1843

def getRuleIndex()
 return RULE_modl_operator
end

#GTHANObject



1831
1832
1833
# File 'lib/modl/parser/MODLParser.rb', line 1831

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

#LTHANObject



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

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