Class: MODL::Parser::MODLParser::Modl_pairContext
- Inherits:
-
Antlr4::Runtime::ParserRuleContext
- Object
- Antlr4::Runtime::ParserRuleContext
- MODL::Parser::MODLParser::Modl_pairContext
- Defined in:
- lib/modl/parser/MODLParser.rb
Instance Method Summary collapse
- #accept(visitor) ⇒ Object
- #enter_rule(listener) ⇒ Object
- #EQUALS ⇒ Object
- #exit_rule(listener) ⇒ Object
- #FALSE ⇒ Object
- #getRuleIndex ⇒ Object
-
#initialize(parent, invokingState) ⇒ Modl_pairContext
constructor
A new instance of Modl_pairContext.
- #modl_array ⇒ Object
- #modl_map ⇒ Object
- #modl_value_item ⇒ Object
- #NULL ⇒ Object
- #NUMBER ⇒ Object
- #QUOTED ⇒ Object
- #STRING ⇒ Object
- #TRUE ⇒ Object
Constructor Details
#initialize(parent, invokingState) ⇒ Modl_pairContext
Returns a new instance of Modl_pairContext.
704 705 706 |
# File 'lib/modl/parser/MODLParser.rb', line 704 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
721 722 723 724 725 726 727 |
# File 'lib/modl/parser/MODLParser.rb', line 721 def accept(visitor) if ( visitor.is_a? MODLParserVisitor ) return visitor.visitModl_pair(self) else return visitor.visit_children(self) end end |
#enter_rule(listener) ⇒ Object
710 711 712 713 714 |
# File 'lib/modl/parser/MODLParser.rb', line 710 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_pair(self) end end |
#EQUALS ⇒ Object
674 675 676 |
# File 'lib/modl/parser/MODLParser.rb', line 674 def EQUALS() return token(MODLParser::EQUALS, 0) end |
#exit_rule(listener) ⇒ Object
715 716 717 718 719 |
# File 'lib/modl/parser/MODLParser.rb', line 715 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_pair(self) end end |
#FALSE ⇒ Object
695 696 697 |
# File 'lib/modl/parser/MODLParser.rb', line 695 def FALSE() return token(MODLParser::FALSE, 0) end |
#getRuleIndex ⇒ Object
707 708 709 |
# File 'lib/modl/parser/MODLParser.rb', line 707 def getRuleIndex() return RULE_modl_pair end |
#modl_array ⇒ Object
701 702 703 |
# File 'lib/modl/parser/MODLParser.rb', line 701 def modl_array() return rule_context("Modl_arrayContext",0) end |
#modl_map ⇒ Object
698 699 700 |
# File 'lib/modl/parser/MODLParser.rb', line 698 def modl_map() return rule_context("Modl_mapContext",0) end |
#modl_value_item ⇒ Object
677 678 679 |
# File 'lib/modl/parser/MODLParser.rb', line 677 def modl_value_item() return rule_context("Modl_value_itemContext",0) end |
#NULL ⇒ Object
689 690 691 |
# File 'lib/modl/parser/MODLParser.rb', line 689 def NULL() return token(MODLParser::NULL, 0) end |
#NUMBER ⇒ Object
686 687 688 |
# File 'lib/modl/parser/MODLParser.rb', line 686 def NUMBER() return token(MODLParser::NUMBER, 0) end |
#QUOTED ⇒ Object
683 684 685 |
# File 'lib/modl/parser/MODLParser.rb', line 683 def QUOTED() return token(MODLParser::QUOTED, 0) end |
#STRING ⇒ Object
680 681 682 |
# File 'lib/modl/parser/MODLParser.rb', line 680 def STRING() return token(MODLParser::STRING, 0) end |
#TRUE ⇒ Object
692 693 694 |
# File 'lib/modl/parser/MODLParser.rb', line 692 def TRUE() return token(MODLParser::TRUE, 0) end |