2015-08-19 19:30:35 -04:00
|
|
|
module Mutant
|
|
|
|
module AST
|
|
|
|
# Node meta information mixin
|
|
|
|
module Meta
|
|
|
|
|
|
|
|
# Metadata for symbol nodes
|
|
|
|
class Symbol
|
|
|
|
include NamedChildren, Concord.new(:node)
|
|
|
|
|
|
|
|
children :name
|
|
|
|
|
2016-03-21 17:44:07 -04:00
|
|
|
public :name
|
|
|
|
|
2015-08-19 19:30:35 -04:00
|
|
|
end # Symbol
|
|
|
|
end # Meta
|
|
|
|
end # AST
|
|
|
|
end # Mutant
|