Package com . prosyst . idl2cpp ;
Helpers
ascii_character | = | [ 0 .. 0xff ] |
ascii_small | = | [ 'a' .. 'z' ] |
ascii_caps | = | [ 'A' .. 'Z' ] |
unicode_character | = | [ 0 .. 0xffff ] |
ht | = | 0x09 |
lf | = | 0x0a |
ff | = | 0x0c |
cr | = | 0x0d |
sp | = | ' ' |
line_terminator | = | lf | cr | cr lf |
input_character | = | [ ascii_character - [ cr + lf ] ] |
uni_input_character | = | [ unicode_character - [ cr + lf ] ] |
not_star | = | [ input_character - '*' ] | line_terminator |
not_star_not_slash | = | [ input_character - [ '*' + '/' ] ] | line_terminator |
digit | = | [ '0' .. '9' ] |
letter | = | ascii_small | ascii_caps | '_' |
letter_or_digit | = | letter | digit |
non_zero_digit | = | [ '1' .. '9' ] |
hex_digit | = | [ '0' .. '9' ] | [ 'a' .. 'f' ] | [ 'A' .. 'F' ] |
octal_digit | = | [ '0' .. '7' ] |
decimal_numeral | = | '0' | non_zero_digit digit * |
hex_numeral | = | '0' ( 'x' | 'X' ) hex_digit + |
octal_numeral | = | '0' octal_digit + |
exponent_part | = | ( 'e' | 'E' ) ( '+' | '-' ) ? digit + |
fixed_type_suffix | = | 'd' | 'D' |
single_character | = | [ input_character - [ ''' + '\' ] ] |
wide_single_character | = | [ uni_input_character - [ ''' + '\' ] ] |
octal_escape | = | '\' ( octal_digit | octal_digit octal_digit | octal_digit octal_digit octal_digit ) |
hex_escape | = | '\' ( 'x' | 'X' ) ( hex_digit | hex_digit hex_digit ) |
unicode_escape | = | '\' ( 'u' | 'U' ) ( hex_digit | hex_digit hex_digit | hex_digit hex_digit hex_digit | hex_digit hex_digit hex_digit hex_digit ) |
escape_sequence | = | '\n' | '\t' | '\v' | '\b' | '\r' | '\f' | '\a' | '\"' | '\' ''' | '\\' | octal_escape | hex_escape | unicode_escape |
string_character | = | [ input_character - [ '"' + '\' ] ] | escape_sequence |
wide_string_character | = | [ uni_input_character - [ '"' + '\' ] ] | escape_sequence |
a | = | 'a' | 'A' |
b | = | 'b' | 'B' |
c | = | 'c' | 'C' |
d | = | 'd' | 'D' |
e | = | 'e' | 'E' |
f | = | 'f' | 'F' |
g | = | 'g' | 'G' |
h | = | 'h' | 'H' |
i | = | 'i' | 'I' |
j | = | 'j' | 'J' |
k | = | 'k' | 'K' |
l | = | 'l' | 'L' |
m | = | 'm' | 'M' |
n | = | 'n' | 'N' |
o | = | 'o' | 'O' |
p | = | 'p' | 'P' |
q | = | 'q' | 'Q' |
r | = | 'r' | 'R' |
s | = | 's' | 'S' |
t | = | 't' | 'T' |
u | = | 'u' | 'U' |
v | = | 'v' | 'V' |
w | = | 'w' | 'W' |
x | = | 'x' | 'X' |
y | = | 'y' | 'Y' |
z | = | 'z' | 'Z' |
Tokens
Ignored Tokens
Productions
This site has been last updated by the web master
on 2007/6/24.