Class: Ibex::Frontend::AST::NodeAnnotation
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::NodeAnnotation
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#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
#fields ⇒ Object
Returns the value of attribute fields
221 222 223 |
# File 'lib/ibex/frontend/ast.rb', line 221 def fields @fields end |
#loc ⇒ Object
Returns the value of attribute loc
221 222 223 |
# File 'lib/ibex/frontend/ast.rb', line 221 def loc @loc end |
#name ⇒ Object
Returns the value of attribute name
221 222 223 |
# File 'lib/ibex/frontend/ast.rb', line 221 def name @name end |
Class Method Details
.new(name:, fields:, loc:) ⇒ instance .new(arg0) ⇒ instance
307 308 |
# File 'sig/ibex/frontend/ast.rbs', line 307
def self.new: (?name: String, ?fields: Array[String], ?loc: Location) -> instance
| ({ ?name: String, ?fields: Array[String], ?loc: Location }) -> instance
|