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.



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

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

Instance Method Details

#accept(visitor) ⇒ Object



1868
1869
1870
1871
1872
1873
1874
# File 'lib/modl/parser/MODLParser.rb', line 1868

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



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

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

#EQUALSObject



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

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

#EXCLAMObject



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

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

#exit_rule(listener) ⇒ Object



1862
1863
1864
1865
1866
# File 'lib/modl/parser/MODLParser.rb', line 1862

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

#getRuleIndexObject



1854
1855
1856
# File 'lib/modl/parser/MODLParser.rb', line 1854

def getRuleIndex()
 return RULE_modl_operator
end

#GTHANObject



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

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

#LTHANObject



1845
1846
1847
# File 'lib/modl/parser/MODLParser.rb', line 1845

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