Sha256: 69c297af6eefb3d508cc991513138d5f3ba78dfff1eb047961873819da2ffa2e

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

module Antlr4ruby
  class RuleContext
    include _RuleNode
    @parent: RuleContext?
    @invoking_state: Integer

    attr_accessor invoking_state: Integer
    attr_accessor parent: RuleContext

    def initialize: (RuleContext?, Integer) -> void

    def depth: -> Integer

    def enter_rule: (_ParseTreeListener) -> void

    def exit_rule: (_ParseTreeListener) -> void

    def get_alt_number: -> Integer

    def get_rule_index: -> Integer

    def is_empty?: -> bool

    def set_alt_number: (Integer) -> void

    def to_s: (recognizer: Recognizer[untyped, untyped]?, rule_names: Array[String], stop: RuleContext?) -> String

    # def get_rule_context: (Class, Integer?) -> RuleContext?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antlr4ruby-0.1.0 sig/antlr4ruby/rule_context.rbs