Class: Ibex::Frontend::AST::UserCode
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::UserCode
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
276 277 278 |
# File 'lib/ibex/frontend/ast.rb', line 276 def code @code end |
#loc ⇒ Object
Returns the value of attribute loc
276 277 278 |
# File 'lib/ibex/frontend/ast.rb', line 276 def loc @loc end |
#name ⇒ Object
Returns the value of attribute name
276 277 278 |
# File 'lib/ibex/frontend/ast.rb', line 276 def name @name end |
Class Method Details
.new(name:, code:, loc:) ⇒ instance .new(arg0) ⇒ instance
407 408 |
# File 'sig/ibex/frontend/ast.rbs', line 407
def self.new: (?name: String, ?code: String, ?loc: Location) -> instance
| ({ ?name: String, ?code: String, ?loc: Location }) -> instance
|