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.
-
#extended_loc ⇒ Object
Returns the value of attribute extended_loc.
-
#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
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def class_name @class_name end |
#cst ⇒ Object
Returns the value of attribute cst
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def cst @cst end |
#declarations ⇒ Object
Returns the value of attribute declarations
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def declarations @declarations end |
#extended ⇒ Object
Returns the value of attribute extended
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def extended @extended end |
#extended_loc ⇒ Object
Returns the value of attribute extended_loc
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def extended_loc @extended_loc end |
#loc ⇒ Object
Returns the value of attribute loc
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def loc @loc end |
#rules ⇒ Object
Returns the value of attribute rules
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def rules @rules end |
#superclass ⇒ Object
Returns the value of attribute superclass
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def superclass @superclass end |
#user_code ⇒ Object
Returns the value of attribute user_code
75 76 77 |
# File 'lib/ibex/frontend/ast.rb', line 75 def user_code @user_code end |
Class Method Details
.new(class_name:, superclass:, declarations:, rules:, user_code:, loc:, extended:, cst:, extended_loc:) ⇒ instance .new(arg0) ⇒ instance
66 67 |
# File 'sig/ibex/frontend/ast.rbs', line 66
def self.new: (?class_name: String, ?superclass: String?, ?declarations: Array[declaration], ?rules: Array[Rule], ?user_code: user_code, ?loc: Location, ?extended: bool?, ?cst: bool?, ?extended_loc: Location?) -> instance
| ({ ?class_name: String, ?superclass: String?, ?declarations: Array[declaration], ?rules: Array[Rule], ?user_code: user_code, ?loc: Location, ?extended: bool?, ?cst: bool?, ?extended_loc: Location? }) -> instance
|