Permalink
Switch branches/tags
Nothing to show
Commits on Jul 16, 2012
  1. Typo fixes

    SimonSapin committed Jul 16, 2012
    Make the parser run again without exceptions.
  2. Add StringValuedToken as a subtype of CSSParserToken.

    tabatkins committed Jul 16, 2012
    Abstracts out the .append() and .finish() methods from a bunch of token
    types.
    Number retains its .finish(), since it has to do extra work.
    Dimension stays a vanilla CSSParserToken, as it names its relevant
    property 'unit' and has to do extra work in .finish() anyway.
Commits on Jul 15, 2012
  1. Push the EOF handling back down into the individual rules, so I can e…

    tabatkins committed Jul 15, 2012
    …agerly discard unfinished style rules and declarations when I hit an unexpected EOF.
  2. Rename Function to Func, to avoid clobbering the builtin Function con…

    tabatkins committed Jul 15, 2012
    …structor. ^_^ Rename FunctionArg to FuncArg for symmetry. These can be named back when I get this code modularized, I suppose.
  3. Rename fillType='decl' to 'declaration', simplify the parser case whe…

    tabatkins committed Jul 15, 2012
    …re that's referenced.
  4. Merge

    tabatkins committed Jul 15, 2012
  5. Merge pull request #4 from SimonSapin/rule-mode-ws

    tabatkins committed Jul 15, 2012
    Ignore white space in rule mode, do not create a selector.
  6. Merge pull request #3 from SimonSapin/function-prototype

    tabatkins committed Jul 15, 2012
    Give the right name to Function.toJSON
  7. Add a test runner and some tests.

    SimonSapin committed Jul 15, 2012
    The tests only pass with the other pull requests applied.
Commits on Jul 14, 2012
  1. Merge pull request #1 from SimonSapin/master

    tabatkins committed Jul 14, 2012
    Add the missing HashToken object
  2. Add the missing HashToken object.

    SimonSapin committed Jul 14, 2012
    It was correctly used but never defined.
Commits on Jul 13, 2012
  1. Write the parser

    Tab Atkins committed Jul 13, 2012
Commits on Jul 12, 2012
  1. Inline the char() function to its one use.

    Tab Atkins committed Jul 12, 2012
  2. Add eof token

    Tab Atkins committed Jul 12, 2012
  3. first commit

    Tab Atkins committed Jul 12, 2012