1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Nathan Weizenbaum
10bf5b876e [Sass] Implement #to_scss and #to_sass together where possible. 2010-01-28 17:22:35 -08:00
Nathan Weizenbaum
f88cd67a11 [Sass] Make sure all #to_sass results have trailing newlines. 2010-01-28 14:28:41 -08:00
Nathan Weizenbaum
5d1c87ff4a [Sass] Add MixinNode#to_sass. 2010-01-26 23:08:52 -08:00
Nathan Weizenbaum
ab82f19b6b [Sass] Support mixins in backtraces even for stuff like parent refs. 2009-11-26 01:48:40 -08:00
Nathan Weizenbaum
41cb3d45b4 [Sass] Add basic support for including mixins in error backtraces.
This doesn't support error backtraces from errors that are raised during Sass::Node#_to_s,
since the Mixin node doesn't exist at that point.
I think the best way to resolve this is to do all error checking earlier on.
2009-11-24 20:31:15 -08:00
Nathan Weizenbaum
49812d64ae [Sass] Get rid of some unnecessary error line specifications. 2009-09-13 14:33:04 -07:00
Nathan Weizenbaum
350d42be41 [Sass] Parse mixin definitions and includes using the SassScript parser.
Closes gh-20
2009-07-19 14:22:09 -07:00
Nathan Weizenbaum
126ee8191b Merge branch 'sassc' into yard-sassc
Conflicts:

	lib/sass.rb
	lib/sass/error.rb
	lib/sass/tree/comment_node.rb
	lib/sass/tree/debug_node.rb
	lib/sass/tree/directive_node.rb
	lib/sass/tree/file_node.rb
	lib/sass/tree/for_node.rb
	lib/sass/tree/if_node.rb
	lib/sass/tree/mixin_def_node.rb
	lib/sass/tree/mixin_node.rb
	lib/sass/tree/node.rb
	lib/sass/tree/while_node.rb
2009-04-25 13:00:22 -07:00
Nathan Weizenbaum
eab40f8c29 [Sass] Convert Sass::Tree::MixinNode docs to YARD. 2009-04-25 02:47:35 -07:00
Nathan Weizenbaum
c6344a3cb1 [Sass] Represent mixin args as arrays rather than hashes. 2009-04-25 02:29:43 -07:00
Nathan Weizenbaum
1146240b73 [Sass] Don't pass options to Tree::Node#initialize. 2009-04-21 20:36:46 -07:00
Nathan Weizenbaum
ea9addc385 Scope variables at indentation level. 2008-10-15 20:22:01 -07:00
Nathan Weizenbaum
f541899530 Resolve variable references in mixin defaults to other args first, then globals. 2008-10-15 01:10:33 -07:00
Nathan Weizenbaum
88c4619bdd Compile Sass to a full-fledged AST before evaluating and printing. 2008-10-13 10:45:10 -07:00