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.



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

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

Instance Method Details

#accept(visitor) ⇒ Object



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

def accept(visitor)
    if (visitor.respond_to?(:visitModl_condition_group))
	  return visitor.visitModl_condition_group(self)
    else
	 return visitor.visit_children(self)
    end
end

#AMPObject



2021
2022
2023
# File 'lib/modl/parser/MODLParser.rb', line 2021

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

#AMP_i(i) ⇒ Object



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

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

#enter_rule(listener) ⇒ Object



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

def enter_rule( listener)
    if (listener.respond_to?(:enterModl_condition_group))
	  listener.enterModl_condition_group(self)
    end
end

#exit_rule(listener) ⇒ Object



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

def exit_rule( listener)
    if (listener.respond_to?(:exitModl_condition_group))
	  listener.exitModl_condition_group(self)
    end
end

#getRuleIndexObject



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

def getRuleIndex()
 return RULE_modl_condition_group
end

#LCBRACObject



2009
2010
2011
# File 'lib/modl/parser/MODLParser.rb', line 2009

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

#modl_condition_testObject



2012
2013
2014
# File 'lib/modl/parser/MODLParser.rb', line 2012

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

#modl_condition_test_i(i) ⇒ Object



2015
2016
2017
# File 'lib/modl/parser/MODLParser.rb', line 2015

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

#PIPEObject



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

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

#PIPE_i(i) ⇒ Object



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

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

#RCBRACObject



2018
2019
2020
# File 'lib/modl/parser/MODLParser.rb', line 2018

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