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

19 commits

Author SHA1 Message Date
Nathan Weizenbaum
b686ddd176 [Sass] Pass options through the lexer and parser. 2009-12-03 13:04:12 -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
3df7ca4c75 [Sass] Deprecate hyphens that are ambiguous with hyphenated tokens. 2009-07-11 11:08:56 -04:00
Nathan Weizenbaum
adba532f8d Use @overload instead of @call-seq. 2009-05-13 20:30:10 -07:00
Nathan Weizenbaum
329f87c9a8 [Sass] Add an abstract superclass for SassScript parse-tree nodes. 2009-04-25 02:00:36 -07:00
Nathan Weizenbaum
8ff8b60ccd [Sass] Convert Sass::Script::Parser docs to YARD. 2009-04-24 20:11:00 -07:00
Nathan Weizenbaum
fb294351a6 [Sass] Make the lexer and parser handle interpolations in a saner, less buggy way. 2009-02-26 02:44:43 -08:00
Nathan Weizenbaum
633c272385 Properly parse Sass interpolation. 2009-01-09 14:54:17 -08:00
Chris Eppstein
f098a39d34 Make the deprecation warning for implicit strings similar to past warnings. 2008-12-14 20:00:21 -08:00
Chris Eppstein
d7f07c5891 Pass filename, if it exists, to the Parser from the Engine to enable better error messages. 2008-12-14 20:00:21 -08:00
Chris Eppstein
6193c96a65 Better warning message for implicit strings with line number and character offset. 2008-12-14 20:00:20 -08:00
Chris Eppstein
17fdd86be8 Emit a Token object instead of Array for Lexer#token. 2008-12-14 20:00:20 -08:00
Chris Eppstein
0d6d7e1c0a Pass line number and character offset from the Engine to the Lexer. 2008-12-14 20:00:20 -08:00
Chris Eppstein
0ad8321326 Issue a deprecation warning if an implicit string is used. 2008-12-14 20:00:20 -08:00
Chris Eppstein
8ac2f30726 Performance optimizations for try_tok
1. Don't need to call @lexer.done? because peek returns nil when it is done.
2. We can avoid calling each by using include?
2008-10-14 09:41:16 -07:00
Nathan Weizenbaum
6e347d5cca Delay SassScript variable resolution until #perform. 2008-10-12 20:26:59 -07:00
Nathan Weizenbaum
05a617b86d Mark some new Sass::Script classes as :nodoc:. 2008-10-12 19:04:40 -07:00
Nathan Weizenbaum
03d2ab6f3b Rename Sass::Constant to Sass::Script, and refer to constants as variables. 2008-10-12 19:03:06 -07:00
Renamed from lib/sass/constant/parser.rb (Browse further)