class SyntaxTree::Reflection::Attribute

This class represents one of the attributes on a node in the tree.

Attributes

comment[R]
name[R]
type[R]

Public Class Methods

new(name, comment) click to toggle source
# File lib/syntax_tree/reflection.rb, line 130
def initialize(name, comment)
  @name = name
  @comment = comment
  @type = Type.parse(comment)
end