Class: Ibex::Frontend::AST::Root
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Root
- Includes:
- Node
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#cst ⇒ Object
Returns the value of attribute cst.
-
#declarations ⇒ Object
Returns the value of attribute declarations.
-
#extended ⇒ Object
Returns the value of attribute extended.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#rules ⇒ Object
Returns the value of attribute rules.
-
#superclass ⇒ Object
Returns the value of attribute superclass.
-
#user_code ⇒ Object
Returns the value of attribute user_code.
Class Method Summary collapse
Methods included from Node
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def class_name @class_name end |
#cst ⇒ Object
Returns the value of attribute cst
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def cst @cst end |
#declarations ⇒ Object
Returns the value of attribute declarations
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def declarations @declarations end |
#extended ⇒ Object
Returns the value of attribute extended
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def extended @extended end |
#loc ⇒ Object
Returns the value of attribute loc
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def loc @loc end |
#rules ⇒ Object
Returns the value of attribute rules
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def rules @rules end |
#superclass ⇒ Object
Returns the value of attribute superclass
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def superclass @superclass end |
#user_code ⇒ Object
Returns the value of attribute user_code
72 73 74 |
# File 'lib/ibex/frontend/ast.rb', line 72 def user_code @user_code end |
Class Method Details
.new(class_name:, superclass:, declarations:, rules:, user_code:, loc:, extended:, cst:) ⇒ instance .new(arg0) ⇒ instance
62 63 |
# File 'sig/ibex/frontend/ast.rbs', line 62
def self.new: (?class_name: String, ?superclass: String?, ?declarations: Array[declaration], ?rules: Array[Rule], ?user_code: user_code, ?loc: Location, ?extended: bool?, ?cst: bool?) -> instance
| ({ ?class_name: String, ?superclass: String?, ?declarations: Array[declaration], ?rules: Array[Rule], ?user_code: user_code, ?loc: Location, ?extended: bool?, ?cst: bool? }) -> instance
|