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