2010-01-22 19:41:08 +00:00
|
|
|
require 'sass'
|
2010-01-21 19:54:47 +00:00
|
|
|
module Sass
|
|
|
|
module Tree
|
|
|
|
class VariableNode < Node
|
|
|
|
attr_accessor :name unless method_defined? :name
|
|
|
|
end
|
|
|
|
class MixinDefNode < Node
|
|
|
|
attr_accessor :name unless method_defined? :name
|
|
|
|
attr_accessor :args unless method_defined? :args
|
2010-01-22 19:40:56 +00:00
|
|
|
attr_accessor :comment unless method_defined? :comment
|
2010-01-21 19:54:47 +00:00
|
|
|
end
|
2010-01-22 19:40:56 +00:00
|
|
|
class ImportNode < RootNode
|
2010-01-21 19:54:47 +00:00
|
|
|
attr_accessor :imported_filename unless method_defined? :imported_filename
|
|
|
|
end
|
2010-01-22 19:40:56 +00:00
|
|
|
class CommentNode < Node
|
|
|
|
def docstring
|
|
|
|
([value] + lines).join("\n")
|
|
|
|
end
|
|
|
|
end
|
2010-01-21 19:54:47 +00:00
|
|
|
end
|
|
|
|
end
|