Class: Modl::Parser::MODLParser::Modl_conditionContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- Modl::Parser::MODLParser::Modl_conditionContext
- Defined in:
- lib/modl/parser/MODLParser.rb
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #enter_rule(listener) ⇒ Object
- #exit_rule(listener) ⇒ Object
- #FSLASH ⇒ Object
- #FSLASH_i(i) ⇒ Object
- #getRuleIndex ⇒ Object
-
#initialize(parent, invokingState) ⇒ Modl_conditionContext
constructor
A new instance of Modl_conditionContext.
- #modl_operator ⇒ Object
- #modl_value ⇒ Object
- #modl_value_i(i) ⇒ Object
- #STRING ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_conditionContext
Returns a new instance of Modl_conditionContext.
1956 1957 1958 |
# File 'lib/modl/parser/MODLParser.rb', line 1956 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
1973 1974 1975 1976 1977 1978 1979 |
# File 'lib/modl/parser/MODLParser.rb', line 1973 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_condition(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
1962 1963 1964 1965 1966 |
# File 'lib/modl/parser/MODLParser.rb', line 1962 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_condition(self) end end |
#exit_rule(listener) ⇒ Object
1967 1968 1969 1970 1971 |
# File 'lib/modl/parser/MODLParser.rb', line 1967 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_condition(self) end end |
#FSLASH ⇒ Object
1950 1951 1952 |
# File 'lib/modl/parser/MODLParser.rb', line 1950 def FSLASH() return tokens(MODLParser::FSLASH) end |
#FSLASH_i(i) ⇒ Object
1953 1954 1955 |
# File 'lib/modl/parser/MODLParser.rb', line 1953 def FSLASH_i( i) return token(MODLParser::FSLASH, i) end |
#getRuleIndex ⇒ Object
1959 1960 1961 |
# File 'lib/modl/parser/MODLParser.rb', line 1959 def getRuleIndex() return RULE_modl_condition end |
#modl_operator ⇒ Object
1947 1948 1949 |
# File 'lib/modl/parser/MODLParser.rb', line 1947 def modl_operator() return rule_context("Modl_operatorContext",0) end |
#modl_value ⇒ Object
1938 1939 1940 |
# File 'lib/modl/parser/MODLParser.rb', line 1938 def modl_value() return rule_contexts("Modl_valueContext") end |
#modl_value_i(i) ⇒ Object
1941 1942 1943 |
# File 'lib/modl/parser/MODLParser.rb', line 1941 def modl_value_i( i) return rule_context("Modl_valueContext",i) end |
#STRING ⇒ Object
1944 1945 1946 |
# File 'lib/modl/parser/MODLParser.rb', line 1944 def STRING() return token(MODLParser::STRING, 0) end |