summaryrefslogtreecommitdiff
path: root/src/bytecode/bytecode.h
Commit message (Collapse)AuthorAgeFilesLines
* border-collapseJohn Mark Bell2008-10-261-0/+3
| | | | | | | | {top,right,bottom,left} s/parse_length_specifier/parse_unit_specifier/g Fix error propagation in some cases. svn path=/trunk/libcss/; revision=5634
* A bunch of property parsers.John Mark Bell2008-10-251-0/+3
| | | | | | | | | | Split out !important parsing into a separate function. Support for dumping bytecode to a file handle in some kind of human-readable format. Strings can be represented in the bytecode as a pointer, length pair rather than embedding the string data into the bytecode -- all strings are interned by the core syntax parser. Add todo relating to early destruction of parser object (it shouldn't be needed once parsing is complete). Note documented issue surrounding interned string dictionary, however. In general, it seems wasteful to create a new dictionary containing string representations of keywords for every single parser instance. It would be better to have one central (statically allocated?) dictionary for this and then each parser instance can have a smaller dictionary containing any unknown strings contained within the stylesheet being parsed (e.g. string constants or URLs). svn path=/trunk/libcss/; revision=5627
* Something approximating a parser for clear.John Mark Bell2008-10-231-0/+5
| | | | | | Provide API to create/destroy css_styles and append them to css_rules. svn path=/trunk/libcss/; revision=5625
* Something approximating an enumeration of the opcode-specific value field.John Mark Bell2008-10-221-2/+2
| | | | | | Some type-related pedantry, too. svn path=/trunk/libcss/; revision=5623
* Bytecode stuffJohn Mark Bell2008-10-221-0/+164
svn path=/trunk/libcss/; revision=5621