Class: LIT::Parser::AST::TypeDeclarationStatement::TypeAlias

Inherits:
Struct
  • Object
show all
Defined in:
lib/lit/parser/ast.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


19
20
21
# File 'lib/lit/parser/ast.rb', line 19

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type


19
20
21
# File 'lib/lit/parser/ast.rb', line 19

def type
  @type
end