Class: LIT::Parser::AST::TypeDeclarationStatement::Enum
- Inherits:
-
Struct
- Object
- Struct
- LIT::Parser::AST::TypeDeclarationStatement::Enum
- Defined in:
- lib/lit/parser/ast.rb
Overview
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#variants ⇒ Object
Returns the value of attribute variants.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
18 19 20 |
# File 'lib/lit/parser/ast.rb', line 18 def name @name end |
#variants ⇒ Object
Returns the value of attribute variants
18 19 20 |
# File 'lib/lit/parser/ast.rb', line 18 def variants @variants end |