1
# The contents of this file are subject to the terms of the Common Development
2
# and Distribution License (the License). You may not use this file except in
3
# compliance with the License.
5
# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
6
# or http://www.netbeans.org/cddl.txt.
8
# When distributing Covered Code, include this CDDL Header Notice in each file
9
# and include the License file at http://www.netbeans.org/cddl.txt.
10
# If applicable, add the following below the CDDL Header, with the fields
11
# enclosed by brackets [] replaced by your own identifying information:
12
# "Portions Copyrighted [year] [name of copyright owner]"
14
# The Original Software is NetBeans. The Initial Developer of the Original
15
# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
16
# Microsystems, Inc. All Rights Reserved.
18
########### tokens #############################################################
20
TOKEN:vm_comment:( "#*" - "*#" )
21
TOKEN:vm_comment:( "##" [^ "\n" "\r"]+ )
38
["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]* "}"?
42
["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]*
43
"." ["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]* "}"?
47
["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]*
48
"." ["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]*
54
[^ "\\" "\"" "\n" "\r"] |
57
(["0"-"7"] ["0"-"7"] ["0"-"7"]) |
58
("x" ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"]) |
59
("u" ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"])
65
["0"-"9"] ['l' 'L']? |
66
["1"-"9"] ["0"-"9"]* ['l' 'L']? |
67
"0" ["0"-"7"]+ ['l' 'L']? |
68
"0" ["x" "X"] ["0"-"9" "a"-"f" "A"-"F"]+ ['l' 'L']? |
69
["0"-"9"]+ "." ["0"-"9"]* (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]? |
70
"." ["0"-"9"]+ (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]? |
71
["0"-"9"]+ ["e" "E"] ["+" "-"]? ["0"-"9"]+ ["f" "F" "d" "D"]? |
72
["0"-"9"]+ (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]
74
TOKEN:vm_identifier:( "$"? ["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]* )
75
TOKEN:vm_operator:( "," )
76
TOKEN:vm_operator:( ")" "}"? ):<DEFAULT>
79
TOKEN:vm_whitespace:( [" " "\t" "\n" "\r"]+ )
87
TOKEN:vm_identifier:( "$"? ["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9" "-" "_"]* )
88
TOKEN:vm_operator:( "." | "(" | ")" | "[" | "]" | "=" | "," )
100
TOKEN:vm_whitespace:( " " | "\t" )
101
TOKEN:vm_eol:( ["\n" "\r"]+ ):<DEFAULT>
104
[^ "\\" "\"" "\n" "\r"] |
107
(["0"-"7"] ["0"-"7"] ["0"-"7"]) |
108
("x" ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"]) |
109
("u" ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"] ["0"-"9" "a"-"f" "A"-"F"])
115
["0"-"9"] ['l' 'L']? |
116
["1"-"9"] ["0"-"9"]* ['l' 'L']? |
117
"0" ["0"-"7"]+ ['l' 'L']? |
118
"0" ["x" "X"] ["0"-"9" "a"-"f" "A"-"F"]+ ['l' 'L']? |
119
["0"-"9"]+ "." ["0"-"9"]* (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]? |
120
"." ["0"-"9"]+ (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]? |
121
["0"-"9"]+ ["e" "E"] ["+" "-"]? ["0"-"9"]+ ["f" "F" "d" "D"]? |
122
["0"-"9"]+ (["e" "E"] ["+" "-"]? ["0"-"9"]+)? ["f" "F" "d" "D"]
124
TOKEN:vm_comment:( "##" [^ " " "\t" "\n" "\r"]+ ):<DEFAULT>
127
TOKEN:text:( [^ "#" "$"]+ )
132
background_color:"#e6ffe6";
135
background_color:"#e6ffe6";
138
background_color:"#e6ffe6";
141
background_color:"#e6ffe6";
143
COLOR:vm_whitespace: {
144
background_color:"#e6ffe6";
146
COLOR:vm_identifier: {
147
background_color:"#e6ffe6";
150
background_color:"#e6ffe6";
154
# mimeType:"text/html2";