forked from KolibriOS/kolibrios
370da47fa0
git-svn-id: svn://kolibrios.org@3584 a494cfbc-eb01-0410-851d-a64ba20cac60
32 lines
602 B
Plaintext
32 lines
602 B
Plaintext
Lexical analyser
|
|
================
|
|
|
|
This document contains various snippets of information about the lexer
|
|
implementation.
|
|
|
|
First sets
|
|
----------
|
|
|
|
IDENT [a-zA-Z] | '-' | '_' | [^#x0-#x7F] | '\'
|
|
ATKEYWORD '@'
|
|
STRING '"' | "'"
|
|
INVALID_STRING '"' | "'"
|
|
HASH '#'
|
|
NUMBER [0-9] | '.' | '-' | '+'
|
|
PERCENTAGE [0-9] | '.' | '-' | '+'
|
|
DIMENSION [0-9] | '.'
|
|
URI [Uu]
|
|
UNICODE-RANGE [Uu]
|
|
CDO '<'
|
|
CDC '-'
|
|
S #x9 | #xA | #xC | #xD | #x20
|
|
COMMENT '/'
|
|
FUNCTION [a-zA-Z] | '-' | '_' | [^#x0-#x7F] | '\'
|
|
INCLUDES '~'
|
|
DASHMATCH '|'
|
|
PREFIXMATCH '^'
|
|
SUFFIXMATCH '$'
|
|
SUBSTRINGMATCH '*'
|
|
CHAR anything except " or '
|
|
|