Class: MilkTea::AST::FlagsDecl
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::FlagsDecl
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#backing_type ⇒ Object
readonly
Returns the value of attribute backing_type.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#members ⇒ Object
readonly
Returns the value of attribute members.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#visibility ⇒ Object
readonly
Returns the value of attribute visibility.
Instance Method Summary collapse
-
#initialize(name:, backing_type:, members:, visibility:, attributes: [], line: nil, column: nil) ⇒ FlagsDecl
constructor
A new instance of FlagsDecl.
Constructor Details
#initialize(name:, backing_type:, members:, visibility:, attributes: [], line: nil, column: nil) ⇒ FlagsDecl
Returns a new instance of FlagsDecl.
91 |
# File 'lib/milk_tea/core/ast.rb', line 91 def initialize(name:, backing_type:, members:, visibility:, attributes: [], line: nil, column: nil) = super |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def attributes @attributes end |
#backing_type ⇒ Object (readonly)
Returns the value of attribute backing_type
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def backing_type @backing_type end |
#column ⇒ Object (readonly)
Returns the value of attribute column
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def line @line end |
#members ⇒ Object (readonly)
Returns the value of attribute members
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def members @members end |
#name ⇒ Object (readonly)
Returns the value of attribute name
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def name @name end |
#visibility ⇒ Object (readonly)
Returns the value of attribute visibility
90 91 92 |
# File 'lib/milk_tea/core/ast.rb', line 90 def visibility @visibility end |