|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
com.globalphasing.* |
---|
com.globalphasing.startools.StarRegex | ||
---|---|---|
public static final String |
REGEX |
"(?xmi) # $Revision: 1.9 $ # No \'u\' flag for perl 5.8.8/RHEL5 compatibility\n^;([\\S\\s]*?)(?:\\r\\n|\\s)^;(?:(?=\\s)|$) # Multi-line string\n|(?:^|(?<=\\s))(\\#.*?)\\r?$ # Comment\n|(?:^|(?<=\\s))(?:\n (global_) # STAR global block\n |(save_\\S*) # STAR save frame header or terminator\n |(\\$\\S+) # STAR save frame reference\n |(stop_) # STAR nested loop terminator\n |(data_\\S+) # Data block header\n |(loop_) # Loop header\n |((?:global_\\S+)|(?:stop_\\S+)|(?:data_)|(?:loop_\\S+)) # Invalid privileged construct\n |(_\\S+) # Data name\n |\'(.*?)\' # Single-quoted string\n |\"(.*?)\" # Double-quoted string\n |(\\.) # CIF null\n |(\\?) # CIF unknown/missing\n |([\\[\\]]\\S*) # Square bracketed constructs (reserved)\n |((?:[^\'\";_$\\s]|(?<!^);)\\S*) # Non-quoted string\n |(\\S+) # Catch-all bad token\n)\n(?:(?=\\s)|$)" |
com.globalphasing.startools.StarTokeniser | ||
---|---|---|
public static final int |
ALLOW_BAD_CONSTRUCT |
2 |
public static final int |
ALLOW_SQUARE_BRACKET |
1 |
com.globalphasing.startools.StarTokenTypes | ||
---|---|---|
public static final int |
EOF |
-1 |
public static final int |
TOKEN_BAD_CONSTRUCT |
9 |
public static final int |
TOKEN_BAD_TOKEN |
17 |
public static final int |
TOKEN_COMMENT |
2 |
public static final int |
TOKEN_DATA_BLOCK |
7 |
public static final int |
TOKEN_DATA_NAME |
10 |
public static final int |
TOKEN_DQUOTE_STRING |
12 |
public static final int |
TOKEN_GLOBAL |
3 |
public static final int |
TOKEN_LOOP |
8 |
public static final int |
TOKEN_LOOP_STOP |
6 |
public static final int |
TOKEN_MULTILINE |
1 |
public static final int |
TOKEN_NULL |
13 |
public static final int |
TOKEN_SAVE_FRAME |
4 |
public static final int |
TOKEN_SAVE_FRAME_REF |
5 |
public static final int |
TOKEN_SQUARE_BRACKET |
15 |
public static final int |
TOKEN_SQUOTE_STRING |
11 |
public static final int |
TOKEN_STRING |
16 |
public static final int |
TOKEN_UNKNOWN |
14 |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |