Class: Ibex::Frontend::AST::LexerRule
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::LexerRule
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#pattern_kind ⇒ Object
Returns the value of attribute pattern_kind.
-
#token ⇒ Object
Returns the value of attribute token.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def action @action end |
#kind ⇒ Object
Returns the value of attribute kind
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def kind @kind end |
#loc ⇒ Object
Returns the value of attribute loc
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def loc @loc end |
#pattern ⇒ Object
Returns the value of attribute pattern
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def pattern @pattern end |
#pattern_kind ⇒ Object
Returns the value of attribute pattern_kind
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def pattern_kind @pattern_kind end |
#token ⇒ Object
Returns the value of attribute token
153 154 155 |
# File 'lib/ibex/frontend/ast.rb', line 153 def token @token end |
Class Method Details
.new(kind:, token:, pattern:, pattern_kind:, action:, loc:) ⇒ instance .new(arg0) ⇒ instance
206 207 |
# File 'sig/ibex/frontend/ast.rbs', line 206
def self.new: (?kind: Symbol, ?token: String?, ?pattern: String, ?pattern_kind: Symbol, ?action: String?, ?loc: Location) -> instance
| ({ ?kind: Symbol, ?token: String?, ?pattern: String, ?pattern_kind: Symbol, ?action: String?, ?loc: Location }) -> instance
|