Class: FixtureFox::AstMember

Inherits:
AstNode
  • Object
show all
Defined in:
lib/fixture_fox/ast.rb

Overview

A member of a record

Instance Attribute Summary collapse

Attributes inherited from AstNode

#children, #parent, #type

Instance Method Summary collapse

Methods inherited from AstNode

#dump, #inspect

Constructor Details

#initialize(record, ident) ⇒ AstMember

Returns a new instance of AstMember.



115
116
117
118
# File 'lib/fixture_fox/ast.rb', line 115

def initialize(record, ident)
  super(record)
  @ident = ident
end

Instance Attribute Details

#columnObject

Initialized by the analyzer



113
114
115
# File 'lib/fixture_fox/ast.rb', line 113

def column
  @column
end

#identObject (readonly)

Ident token



112
113
114
# File 'lib/fixture_fox/ast.rb', line 112

def ident
  @ident
end