0 = Inicial 1 = Identificador o Palabra Reservada 2 = Constante 3

Anuncio
Estados:
a,
tr
le
0 = Inicial
1 = Identificador o Palabra Reservada
2 = Constante
3 = Posible comentario o Operador /
4 = Comentario
5 = Posible fin de comentario
6 = Constante String
to
gi
di
to
gi
di
d
se
/
0
ID
caracter - (letra o digito)/ OnEndID
C
On
/
on
LL
*,
+,
/
a
tr
i
ig
to
-,
On
/
caracter - (digito)/ OnEndCons
CNC
2
ID
CC
2
On
/
%
CNC
2
s
2
le
r
do
ra
pa
On
1
CNC = Caracter No Consumido
CC = Caracter Consumido
NU
/
Co
ns
Ar
Op
On
OnO p
! /
,
=
,
>, <
it
CC
2
Cmp
CC
2
] / OnPunt
(, ), {, }, [,
'/'
/ NU
LL
CC
2
OpA rit
- * / On
caracter
3
'/
'
"
/
/
NU
On
S
* / NU
LL
LL
car
act
er
* /
NUL
L
tr
caracter - '/' / NULL
4
5
car
act
* / NULL
er
6
- "
/ O
nSt
r
" / OnEndStr
CC
2
- *
/ N
ULL
Descargar