Class: MODL::Parser::MODLParser::Modl_map_conditional_returnContext

Inherits:
Antlr4::Runtime::ParserRuleContext
  • Object
show all
Defined in:
lib/modl/parser/MODLParser.rb

Instance Method Summary collapse

Constructor Details

#initialize(parent, invokingState) ⇒ Modl_map_conditional_returnContext

Returns a new instance of Modl_map_conditional_returnContext.



1133
1134
1135
# File 'lib/modl/parser/MODLParser.rb', line 1133

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

Instance Method Details

#accept(visitor) ⇒ Object



1150
1151
1152
1153
1154
1155
1156
# File 'lib/modl/parser/MODLParser.rb', line 1150

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

#enter_rule(listener) ⇒ Object



1139
1140
1141
1142
1143
# File 'lib/modl/parser/MODLParser.rb', line 1139

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

#exit_rule(listener) ⇒ Object



1144
1145
1146
1147
1148
# File 'lib/modl/parser/MODLParser.rb', line 1144

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

#getRuleIndexObject



1136
1137
1138
# File 'lib/modl/parser/MODLParser.rb', line 1136

def getRuleIndex()
 return RULE_modl_map_conditional_return
end

#modl_map_itemObject



1127
1128
1129
# File 'lib/modl/parser/MODLParser.rb', line 1127

def modl_map_item()
	return rule_contexts("Modl_map_itemContext")
end

#modl_map_item_i(i) ⇒ Object



1130
1131
1132
# File 'lib/modl/parser/MODLParser.rb', line 1130

def modl_map_item_i( i)
	return rule_context("Modl_map_itemContext",i)
end