Class: Modl::Parser::MODLParser::Modl_condition_groupContext

Inherits:
Antlr4::Runtime::ParserRuleContext
  • Object
show all
Defined in:
lib/modl/parser/MODLParser.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent, invokingState) ⇒ Modl_condition_groupContext

Returns a new instance of Modl_condition_groupContext.



2058
2059
2060
# File 'lib/modl/parser/MODLParser.rb', line 2058

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

Instance Method Details

#accept(visitor) ⇒ Object



2075
2076
2077
2078
2079
2080
2081
# File 'lib/modl/parser/MODLParser.rb', line 2075

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

#AMPObject



2046
2047
2048
# File 'lib/modl/parser/MODLParser.rb', line 2046

def AMP()
 return tokens(MODLParser::AMP)
end

#AMP_i(i) ⇒ Object



2049
2050
2051
# File 'lib/modl/parser/MODLParser.rb', line 2049

def AMP_i( i)
  return token(MODLParser::AMP, i)
end

#enter_rule(listener) ⇒ Object



2064
2065
2066
2067
2068
# File 'lib/modl/parser/MODLParser.rb', line 2064

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

#exit_rule(listener) ⇒ Object



2069
2070
2071
2072
2073
# File 'lib/modl/parser/MODLParser.rb', line 2069

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

#getRuleIndexObject



2061
2062
2063
# File 'lib/modl/parser/MODLParser.rb', line 2061

def getRuleIndex()
 return RULE_modl_condition_group
end

#LCBRACObject



2034
2035
2036
# File 'lib/modl/parser/MODLParser.rb', line 2034

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

#modl_condition_testObject



2037
2038
2039
# File 'lib/modl/parser/MODLParser.rb', line 2037

def modl_condition_test()
  return rule_contexts("Modl_condition_testContext")
end

#modl_condition_test_i(i) ⇒ Object



2040
2041
2042
# File 'lib/modl/parser/MODLParser.rb', line 2040

def modl_condition_test_i( i)
  return rule_context("Modl_condition_testContext",i)
end

#PIPEObject



2052
2053
2054
# File 'lib/modl/parser/MODLParser.rb', line 2052

def PIPE()
 return tokens(MODLParser::PIPE)
end

#PIPE_i(i) ⇒ Object



2055
2056
2057
# File 'lib/modl/parser/MODLParser.rb', line 2055

def PIPE_i( i)
  return token(MODLParser::PIPE, i)
end

#RCBRACObject



2043
2044
2045
# File 'lib/modl/parser/MODLParser.rb', line 2043

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