class Antlr4::Runtime::EmptyPredictionContext
Constants
- EMPTY
Public Class Methods
new(return_state)
click to toggle source
Calls superclass method
# File lib/antlr4/runtime/empty_prediction_context.rb, line 4 def initialize(return_state) super(nil, return_state) end
Public Instance Methods
equals(o)
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 26 def equals(o) self == o end
isEmpty()
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 10 def isEmpty true end
parent(_index=nil)
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 18 def parent(_index=nil) nil end
return_state(_index=nil)
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 22 def return_state(_index=nil) @return_state end
size()
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 14 def size 1 end
to_s()
click to toggle source
# File lib/antlr4/runtime/empty_prediction_context.rb, line 30 def to_s '$' end