Class: MODL::Parser::MODLParser::Modl_condition_testContext

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_testContext

Returns a new instance of Modl_condition_testContext.



1713
1714
1715
# File 'lib/modl/parser/MODLParser.rb', line 1713

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

Instance Method Details

#accept(visitor) ⇒ Object



1730
1731
1732
1733
1734
1735
1736
# File 'lib/modl/parser/MODLParser.rb', line 1730

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

#AMPObject



1701
1702
1703
# File 'lib/modl/parser/MODLParser.rb', line 1701

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

#AMP_i(i) ⇒ Object



1704
1705
1706
# File 'lib/modl/parser/MODLParser.rb', line 1704

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

#enter_rule(listener) ⇒ Object



1719
1720
1721
1722
1723
# File 'lib/modl/parser/MODLParser.rb', line 1719

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

#EXCLAMObject



1695
1696
1697
# File 'lib/modl/parser/MODLParser.rb', line 1695

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

#EXCLAM_i(i) ⇒ Object



1698
1699
1700
# File 'lib/modl/parser/MODLParser.rb', line 1698

def EXCLAM_i( i)
	return token(MODLParser::EXCLAM, i)
end

#exit_rule(listener) ⇒ Object



1724
1725
1726
1727
1728
# File 'lib/modl/parser/MODLParser.rb', line 1724

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

#getRuleIndexObject



1716
1717
1718
# File 'lib/modl/parser/MODLParser.rb', line 1716

def getRuleIndex()
 return RULE_modl_condition_test
end

#modl_conditionObject



1683
1684
1685
# File 'lib/modl/parser/MODLParser.rb', line 1683

def modl_condition()
	return rule_contexts("Modl_conditionContext")
end

#modl_condition_groupObject



1689
1690
1691
# File 'lib/modl/parser/MODLParser.rb', line 1689

def modl_condition_group()
	return rule_contexts("Modl_condition_groupContext")
end

#modl_condition_group_i(i) ⇒ Object



1692
1693
1694
# File 'lib/modl/parser/MODLParser.rb', line 1692

def modl_condition_group_i( i)
	return rule_context("Modl_condition_groupContext",i)
end

#modl_condition_i(i) ⇒ Object



1686
1687
1688
# File 'lib/modl/parser/MODLParser.rb', line 1686

def modl_condition_i( i)
	return rule_context("Modl_conditionContext",i)
end

#PIPEObject



1707
1708
1709
# File 'lib/modl/parser/MODLParser.rb', line 1707

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

#PIPE_i(i) ⇒ Object



1710
1711
1712
# File 'lib/modl/parser/MODLParser.rb', line 1710

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