Class: Ibex::Frontend::AST::Rule
- Inherits:
-
Struct
- Object
- Struct
- Ibex::Frontend::AST::Rule
- Includes:
- Node, Ibex::Frontend::ASTRuleDefaults
- Defined in:
- lib/ibex/frontend/ast.rb,
sig/ibex/frontend/ast.rbs
Instance Attribute Summary collapse
-
#alternatives ⇒ Object
Returns the value of attribute alternatives.
-
#documentation ⇒ Object
Returns the value of attribute documentation.
-
#inline ⇒ Object
Returns the value of attribute inline.
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
Class Method Summary collapse
Methods included from Node
Methods included from Ibex::Frontend::ASTRuleDefaults
Instance Attribute Details
#alternatives ⇒ Object
Returns the value of attribute alternatives
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def alternatives @alternatives end |
#documentation ⇒ Object
Returns the value of attribute documentation
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def documentation @documentation end |
#inline ⇒ Object
Returns the value of attribute inline
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def inline @inline end |
#lhs ⇒ Object
Returns the value of attribute lhs
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def lhs @lhs end |
#loc ⇒ Object
Returns the value of attribute loc
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def loc @loc end |
#parameters ⇒ Object
Returns the value of attribute parameters
204 205 206 |
# File 'lib/ibex/frontend/ast.rb', line 204 def parameters @parameters end |
Class Method Details
.new(lhs:, parameters:, alternatives:, loc:, documentation:, inline:) ⇒ instance .new(arg0) ⇒ instance
31 32 |
# File 'sig/ibex/frontend/ast.rbs', line 31
def self.new: (?lhs: String, ?parameters: Array[String]?, ?alternatives: Array[Alternative], ?loc: Location, ?documentation: String?, ?inline: bool?) -> instance
| ({ ?lhs: String, ?parameters: Array[String]?, ?alternatives: Array[Alternative], ?loc: Location, ?documentation: String?, ?inline: bool? }) -> instance
|