Hash :
52d59faa
Author :
Thomas de Grivel
Date :
2018-06-18T10:13:31
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
;;
;; css-lexer - CSS lexer
;;
;; Copyright 2017,2018 Thomas de Grivel <thoxdg@gmail.com>
;;
;; Permission to use, copy, modify, and distribute this software for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;;
;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
;; WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
;; MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
;; ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
;; WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
;; ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
;; OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
;;
(in-package :common-lisp)
(defpackage :css-lexer
(:use :cl-stream
:common-lisp
:token-stream)
#.(cl-stream:shadowing-import-from)
(:export
#:[-token
#:]-token
#:at-keyword-token
#:at-keyword-token
#:cdc-token
#:cdc-token
#:cdo-token
#:cdo-token
#:colon-token
#:column-token
#:column-token
#:comma-token
#:comment-token
#:consume-token
#:css-lexer
#:css-token
#:dash-match-token
#:dash-match-token
#:delim-token
#:dimension-token
#:dimension-token
#:eof-token
#:function-token
#:function-token
#:hash-token
#:ident-token
#:ident-token
#:identified-token
#:include-match-token
#:include-match-token
#:left-paren-token
#:match-comment
#:match-digit
#:match-digit+
#:match-escape
#:match-hex-digit
#:match-ident-char
#:match-ident-char*
#:match-newline
#:match-non-printable
#:match-string
#:match-string-char
#:match-url-unquoted
#:match-url-unquoted-char
#:match-whitespace
#:match-ws*
#:number-token
#:number-token
#:numbered-token
#:percentage-token
#:percentage-token
#:prefix-match-token
#:prefix-match-token
#:printable
#:right-paren-token
#:semicolon-token
#:string-token
#:string-token
#:substring-match-token
#:substring-match-token
#:suffix-match-token
#:suffix-match-token
#:token
#:token-character
#:token-ident
#:token-line
#:token-string
#:unicode-range-token
#:unicode-range-token
#:url-token
#:url-token
#:whitespace-token
#:whitespace-token
#:{-token
#:}-token
))