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.
103 |
# File 'lib/milk_tea/core/ast.rb', line 103 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
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def attributes @attributes end |
#backing_type ⇒ Object (readonly)
Returns the value of attribute backing_type
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def backing_type @backing_type end |
#column ⇒ Object (readonly)
Returns the value of attribute column
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def line @line end |
#members ⇒ Object (readonly)
Returns the value of attribute members
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def members @members end |
#name ⇒ Object (readonly)
Returns the value of attribute name
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def name @name end |
#visibility ⇒ Object (readonly)
Returns the value of attribute visibility
102 103 104 |
# File 'lib/milk_tea/core/ast.rb', line 102 def visibility @visibility end |