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.
715 716 717 |
# File 'lib/modl/parser/MODLParser.rb', line 715 def initialize( parent, invokingState) super(parent, invokingState) end |
Instance Method Details
#accept(visitor) ⇒ Object
732 733 734 735 736 737 738 |
# File 'lib/modl/parser/MODLParser.rb', line 732 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
721 722 723 724 725 |
# File 'lib/modl/parser/MODLParser.rb', line 721 def enter_rule( listener) if ( listener.is_a? MODLParserListener ) listener.enterModl_pair(self) end end |
#EQUALS ⇒ Object
681 682 683 |
# File 'lib/modl/parser/MODLParser.rb', line 681 def EQUALS() return token(MODLParser::EQUALS, 0) end |
#exit_rule(listener) ⇒ Object
726 727 728 729 730 |
# File 'lib/modl/parser/MODLParser.rb', line 726 def exit_rule( listener) if ( listener.is_a? MODLParserListener ) listener.exitModl_pair(self) end end |
#FALSE ⇒ Object
706 707 708 |
# File 'lib/modl/parser/MODLParser.rb', line 706 def FALSE() return token(MODLParser::FALSE, 0) end |
#getRuleIndex ⇒ Object
718 719 720 |
# File 'lib/modl/parser/MODLParser.rb', line 718 def getRuleIndex() return RULE_modl_pair end |
#modl_array ⇒ Object
712 713 714 |
# File 'lib/modl/parser/MODLParser.rb', line 712 def modl_array() return rule_context("Modl_arrayContext",0) end |
#modl_map ⇒ Object
709 710 711 |
# File 'lib/modl/parser/MODLParser.rb', line 709 def modl_map() return rule_context("Modl_mapContext",0) end |
#modl_value_item ⇒ Object
684 685 686 |
# File 'lib/modl/parser/MODLParser.rb', line 684 def modl_value_item() return rule_context("Modl_value_itemContext",0) end |
#NULL ⇒ Object
698 699 700 |
# File 'lib/modl/parser/MODLParser.rb', line 698 def NULL() return token(MODLParser::NULL, 0) end |
#NUMBER ⇒ Object
694 695 696 |
# File 'lib/modl/parser/MODLParser.rb', line 694 def NUMBER() return token(MODLParser::NUMBER, 0) end |
#QUOTED ⇒ Object
690 691 692 |
# File 'lib/modl/parser/MODLParser.rb', line 690 def QUOTED() return token(MODLParser::QUOTED, 0) end |
#STRING ⇒ Object
687 688 689 |
# File 'lib/modl/parser/MODLParser.rb', line 687 def STRING() return token(MODLParser::STRING, 0) end |
#TRUE ⇒ Object
702 703 704 |
# File 'lib/modl/parser/MODLParser.rb', line 702 def TRUE() return token(MODLParser::TRUE, 0) end |