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.
1931 1932 1933 |
# File 'lib/modl/parser/MODLParser.rb', line 1931 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
1948 1949 1950 1951 1952 1953 1954 |
# File 'lib/modl/parser/MODLParser.rb', line 1948 def accept(visitor) if (visitor.respond_to?(:visitModl_condition)) return visitor.visitModl_condition(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
1937 1938 1939 1940 1941 |
# File 'lib/modl/parser/MODLParser.rb', line 1937 def enter_rule( listener) if (listener.respond_to?(:enterModl_condition)) listener.enterModl_condition(self) end end |
#exit_rule(listener) ⇒ Object
1942 1943 1944 1945 1946 |
# File 'lib/modl/parser/MODLParser.rb', line 1942 def exit_rule( listener) if (listener.respond_to?(:exitModl_condition)) listener.exitModl_condition(self) end end |
#FSLASH ⇒ Object
1925 1926 1927 |
# File 'lib/modl/parser/MODLParser.rb', line 1925 def FSLASH() return tokens(MODLParser::FSLASH) end |
#FSLASH_i(i) ⇒ Object
1928 1929 1930 |
# File 'lib/modl/parser/MODLParser.rb', line 1928 def FSLASH_i( i) return token(MODLParser::FSLASH, i) end |
#getRuleIndex ⇒ Object
1934 1935 1936 |
# File 'lib/modl/parser/MODLParser.rb', line 1934 def getRuleIndex() return RULE_modl_condition end |
#modl_operator ⇒ Object
1922 1923 1924 |
# File 'lib/modl/parser/MODLParser.rb', line 1922 def modl_operator() return rule_context("Modl_operatorContext",0) end |
#modl_value ⇒ Object
1913 1914 1915 |
# File 'lib/modl/parser/MODLParser.rb', line 1913 def modl_value() return rule_contexts("Modl_valueContext") end |
#modl_value_i(i) ⇒ Object
1916 1917 1918 |
# File 'lib/modl/parser/MODLParser.rb', line 1916 def modl_value_i( i) return rule_context("Modl_valueContext",i) end |
#STRING ⇒ Object
1919 1920 1921 |
# File 'lib/modl/parser/MODLParser.rb', line 1919 def STRING() return token(MODLParser::STRING, 0) end |