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.



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

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

Instance Method Details

#accept(visitor) ⇒ Object



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

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

#AMPObject



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

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

#AMP_i(i) ⇒ Object



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

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

#enter_rule(listener) ⇒ Object



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

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

#exit_rule(listener) ⇒ Object



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

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

#getRuleIndexObject



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

def getRuleIndex()
 return RULE_modl_condition_group
end

#LCBRACObject



2023
2024
2025
# File 'lib/modl/parser/MODLParser.rb', line 2023

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

#modl_condition_testObject



2026
2027
2028
# File 'lib/modl/parser/MODLParser.rb', line 2026

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

#modl_condition_test_i(i) ⇒ Object



2029
2030
2031
# File 'lib/modl/parser/MODLParser.rb', line 2029

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

#PIPEObject



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

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

#PIPE_i(i) ⇒ Object



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

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

#RCBRACObject



2032
2033
2034
# File 'lib/modl/parser/MODLParser.rb', line 2032

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