Method: RuleContext#isEmpty
- Defined in:
- lib/antlr4/RuleContext.rb
#isEmpty ⇒ Object
A context is empty if there is no invoking state; meaning nobody call
current context.
54 55 56 |
# File 'lib/antlr4/RuleContext.rb', line 54 def isEmpty return self.invokingState == -1 end |