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.



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

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

Instance Method Details

#accept(visitor) ⇒ Object



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

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

#AMPObject



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

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

#AMP_i(i) ⇒ Object



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

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

#enter_rule(listener) ⇒ Object



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

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

#EXCLAMObject



1681
1682
1683
# File 'lib/modl/parser/MODLParser.rb', line 1681

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

#EXCLAM_i(i) ⇒ Object



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

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

#exit_rule(listener) ⇒ Object



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

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

#getRuleIndexObject



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

def getRuleIndex()
 return RULE_modl_condition_test
end

#modl_conditionObject



1669
1670
1671
# File 'lib/modl/parser/MODLParser.rb', line 1669

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

#modl_condition_groupObject



1675
1676
1677
# File 'lib/modl/parser/MODLParser.rb', line 1675

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

#modl_condition_group_i(i) ⇒ Object



1678
1679
1680
# File 'lib/modl/parser/MODLParser.rb', line 1678

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

#modl_condition_i(i) ⇒ Object



1672
1673
1674
# File 'lib/modl/parser/MODLParser.rb', line 1672

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

#PIPEObject



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

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

#PIPE_i(i) ⇒ Object



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

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