Class: Antlr4::Runtime::DecisionEventInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/antlr4/runtime/decision_event_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(decision, configs, input, start_index, stop_index, full_ctx) ⇒ DecisionEventInfo

Returns a new instance of DecisionEventInfo


10
11
12
13
14
15
16
17
# File 'lib/antlr4/runtime/decision_event_info.rb', line 10

def initialize(decision, configs, input, start_index, stop_index, full_ctx)
  @decision = decision
  @full_ctx = full_ctx
  @stop_index = stop_index
  @input = input
  @start_index = start_index
  @configs = configs
end

Instance Attribute Details

#configsObject

Returns the value of attribute configs


4
5
6
# File 'lib/antlr4/runtime/decision_event_info.rb', line 4

def configs
  @configs
end

#decisionObject

Returns the value of attribute decision


3
4
5
# File 'lib/antlr4/runtime/decision_event_info.rb', line 3

def decision
  @decision
end

#full_ctxObject

Returns the value of attribute full_ctx


8
9
10
# File 'lib/antlr4/runtime/decision_event_info.rb', line 8

def full_ctx
  @full_ctx
end

#inputObject

Returns the value of attribute input


5
6
7
# File 'lib/antlr4/runtime/decision_event_info.rb', line 5

def input
  @input
end

#start_indexObject

Returns the value of attribute start_index


6
7
8
# File 'lib/antlr4/runtime/decision_event_info.rb', line 6

def start_index
  @start_index
end

#stop_indexObject

Returns the value of attribute stop_index


7
8
9
# File 'lib/antlr4/runtime/decision_event_info.rb', line 7

def stop_index
  @stop_index
end