Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. Lexical analyser
  2. ================
  3.  
  4. This document contains various snippets of information about the lexer
  5. implementation.
  6.  
  7. First sets
  8. ----------
  9.  
  10. IDENT           [a-zA-Z] | '-' | '_' | [^#x0-#x7F] | '\'
  11. ATKEYWORD       '@'
  12. STRING          '"' | "'"
  13. INVALID_STRING  '"' | "'"
  14. HASH            '#'
  15. NUMBER          [0-9] | '.' | '-' | '+'
  16. PERCENTAGE      [0-9] | '.' | '-' | '+'
  17. DIMENSION       [0-9] | '.'
  18. URI             [Uu]
  19. UNICODE-RANGE   [Uu]
  20. CDO             '<'
  21. CDC             '-'
  22. S               #x9 | #xA | #xC | #xD | #x20
  23. COMMENT         '/'
  24. FUNCTION        [a-zA-Z] | '-' | '_' | [^#x0-#x7F] | '\'
  25. INCLUDES        '~'
  26. DASHMATCH       '|'
  27. PREFIXMATCH     '^'
  28. SUFFIXMATCH     '$'
  29. SUBSTRINGMATCH  '*'
  30. CHAR            anything except " or '
  31.  
  32.