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

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def action
  @action
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def kind
  @kind
end

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def loc
  @loc
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def pattern
  @pattern
end

#pattern_kindObject

Returns the value of attribute pattern_kind

Returns:

  • (Object)

    the current value of pattern_kind



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def pattern_kind
  @pattern_kind
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



153
154
155
# File 'lib/ibex/frontend/ast.rb', line 153

def token
  @token
end