Class: Ibex::Frontend::AST::LexerRule

Inherits:
Struct
  • Object
show all
Includes:
Node
Defined in:
lib/ibex/frontend/ast.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Node

#to_h

Instance Attribute Details

#action ⇒ Object

Returns the value of attribute action

Returns:

  • (Object) —

    the current value of action



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def action
  @action
end

#kind ⇒ Object

Returns the value of attribute kind

Returns:

  • (Object) —

    the current value of kind



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def kind
  @kind
end

#loc ⇒ Object

Returns the value of attribute loc

Returns:

  • (Object) —

    the current value of loc



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def loc
  @loc
end

#pattern ⇒ Object

Returns the value of attribute pattern

Returns:

  • (Object) —

    the current value of pattern



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def pattern
  @pattern
end

#pattern_kind ⇒ Object

Returns the value of attribute pattern_kind

Returns:

  • (Object) —

    the current value of pattern_kind



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def pattern_kind
  @pattern_kind
end

#token ⇒ Object

Returns the value of attribute token

Returns:

  • (Object) —

    the current value of token



157
158
159
# File 'lib/ibex/frontend/ast.rb', line 157

def token
  @token
end