Sha256: 149acc9d4aae2cb54a0c0f13b652e4f34d7059bec0dbc0d8e1277be37be635b0

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

module Antlr4ruby

  # @abstract
  class Transition
    EPSILON : Integer
    RANGE : Integer
    RULE : Integer
    PREDICATE : Integer
    ATOM : Integer
    ACTION : Integer
    SET : Integer
    NOT_SET : Integer
    WILDCARD : Integer
    PRECEDENCE : Integer

    @@serialization_names: Array[String]
    @@serialization_types: Hash[Class, Integer]

    @target: ATNState

    def self.serialization_names: -> Array[String]

    def self.serialization_types: -> Hash[Class, Integer]

    attr_accessor target: ATNState

    def initialize: (ATNState) -> void

    # @!abstract
    def get_serialization_type: -> Integer

    def is_epsilon?: -> bool

    def label: -> RangeSet[Integer]?

    # @abstract
    def matches?: (Integer, Integer, Integer) -> bool

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antlr4ruby-0.1.0 sig/antlr4ruby/atn/transition/transition.rbs