Class: Modl::Parser::MODLParser::Modl_operatorContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- Modl::Parser::MODLParser::Modl_operatorContext
- Defined in:
- lib/modl/parser/MODLParser.rb
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #enter_rule(listener) ⇒ Object
- #EQUALS ⇒ Object
- #EXCLAM ⇒ Object
- #exit_rule(listener) ⇒ Object
- #getRuleIndex ⇒ Object
- #GTHAN ⇒ Object
-
#initialize(parent, invokingState) ⇒ Modl_operatorContext
constructor
A new instance of Modl_operatorContext.
- #LTHAN ⇒ Object
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 |
#EQUALS ⇒ Object
1839 1840 1841 |
# File 'lib/modl/parser/MODLParser.rb', line 1839 def EQUALS() return token(MODLParser::EQUALS, 0) end |
#EXCLAM ⇒ Object
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 |
#getRuleIndex ⇒ Object
1854 1855 1856 |
# File 'lib/modl/parser/MODLParser.rb', line 1854 def getRuleIndex() return RULE_modl_operator end |
#GTHAN ⇒ Object
1842 1843 1844 |
# File 'lib/modl/parser/MODLParser.rb', line 1842 def GTHAN() return token(MODLParser::GTHAN, 0) end |
#LTHAN ⇒ Object
1845 1846 1847 |
# File 'lib/modl/parser/MODLParser.rb', line 1845 def LTHAN() return token(MODLParser::LTHAN, 0) end |