ГОСТ Р ИСО/ТО 10303-12-2000
102 THEN -then- .
103 ТО -to’ .
104 TRUE - ’true’ .
105 TYPE - type’ .
106 TYPEOF - ’typeof .
107 UNIQUE - ’unique- .
108 UNKNOWN -unknown’ .
109 UNTIL -until’ .
< 110 USE - ’use’ . >
111 USEDI.N - ’usedin’ .
112 VALUE - ’value’ .
113 VALUEJN - 4alue_in’ .
114 VALUE_UN1QUE - ’value_unique’ .
115 VAR -var’ .
116 WHERE -where- .
117 WHILE - while’ .
118 XOR = ’xor’ .
A. 1.2. Кл ассы с и м в о л о в
Следующие правила определяют различные классы симватав, используемые при конструировании
лексем в А2.
П ри мечам и е —Последующие правила EXPRESS от 119до 135 используются в EXPRESS-1.
119 bit -0’ |
T
.
120 digit = ’O’ |
T
| ’2’ | ’3- | ’4’ | *5’ | ’6’ |
T
| ’8’ | ’9’ .
121 digits «* digit { digit } .
122 oncoded chtraderoctet octet octet octet .
123 hcx_digit " digit | ’a’ | ’b’ | ’c’ | ’d’ | ’e’ | ’Г -
124 letter - ’a’ |
V
|
V
| ’d’ |
V
|
T
| ’g’ | ’h’ | ’i’ | *j’ |
V
| T |
’m’| ’n’ | ’o’ j ’p’ j -q* | V | ’s’ | T| ’u’ | V | V | ’x* |
У I•
V
|$’
|’
| +’
...
125 lparen_not_star ■ ’(’ not_star .
126 not lparen star - not_parcn_star | ’)’ .
127 not_paren_star ■ letter | digit | not_paren_star_special .
128 not_parcn_star_quote_special “ T
j
|
V, у
|
,
’
... |
’%
...
\
| .<. |
’
...
|
,
|
,
•r||r |v |T | | -j | - |
T I T I У I -•
129 not_paren_star_special ” not_parcn_star_quote_special | "" .
130 not_quote ” not_paren_star_quote_special | letter | digit | ’(’ | ’)’ |.
131 not rparen ■ not_paren_star || ’(’ .
132 not_star ■■ not_paren_star | ’(’ | ’)’ .
133 octet = hcx_digit hex digit .
134 special ” not_parcn_star_quote_spccial | ’(‘ | ’)’ | ’*• | ’" ’ .
135 star_not_rparcn ■not_rparcn .
A.2 Лексические элементы
Следующие правила устанавливают, как определенные комбинации символов интерпретируются в ка
честве лексических элементов языка.
25i Binary-Value ■* binary- literal .
26i Description “ { \a | \s | \n } .
27i EncodcdStringValue «
V
{ cncoded_character | \n }.
28i EnunierationValue ■■siraple_id .
29i IntegerValue * | sign ) integorjitcral .
30i Nil - T .
31i SignedMathConstant » J sign ] MathConstant .
32i SigncdRcalLitcral _ l sign J real lheral .
33i SimpleStringValue ™ \q { ( \q \q ) | not quote | \s | \o | \o J \q .
47