209 |
## ->{value} |
## ->{value} |
210 |
## ->{has_reference} == 1 or 0 |
## ->{has_reference} == 1 or 0 |
211 |
## ->{data} (COMMENT_TOKEN, CHARACTER_TOKEN) |
## ->{data} (COMMENT_TOKEN, CHARACTER_TOKEN) |
212 |
|
## ->{has_reference} == 1 or 0 (CHARACTER_TOKEN) |
213 |
## NOTE: The "self-closing flag" is hold as |$self->{self_closing}|. |
## NOTE: The "self-closing flag" is hold as |$self->{self_closing}|. |
214 |
## |->{self_closing}| is used to save the value of |$self->{self_closing}| |
## |->{self_closing}| is used to save the value of |$self->{self_closing}| |
215 |
## while the token is pushed back to the stack. |
## while the token is pushed back to the stack. |
2557 |
$self->{s_kwd} = ''; |
$self->{s_kwd} = ''; |
2558 |
## Reconsume. |
## Reconsume. |
2559 |
!!!emit ({type => CHARACTER_TOKEN, data => chr $code, |
!!!emit ({type => CHARACTER_TOKEN, data => chr $code, |
2560 |
|
has_reference => 1, |
2561 |
line => $l, column => $c, |
line => $l, column => $c, |
2562 |
}); |
}); |
2563 |
redo A; |
redo A; |
2670 |
$self->{s_kwd} = ''; |
$self->{s_kwd} = ''; |
2671 |
## Reconsume. |
## Reconsume. |
2672 |
!!!emit ({type => CHARACTER_TOKEN, data => chr $code, |
!!!emit ({type => CHARACTER_TOKEN, data => chr $code, |
2673 |
|
has_reference => 1, |
2674 |
line => $l, column => $c, |
line => $l, column => $c, |
2675 |
}); |
}); |
2676 |
redo A; |
redo A; |
2766 |
## Reconsume. |
## Reconsume. |
2767 |
!!!emit ({type => CHARACTER_TOKEN, |
!!!emit ({type => CHARACTER_TOKEN, |
2768 |
data => $data, |
data => $data, |
2769 |
|
has_reference => $has_ref, |
2770 |
line => $self->{line_prev}, |
line => $self->{line_prev}, |
2771 |
column => $self->{column_prev} + 1 - length $self->{s_kwd}, |
column => $self->{column_prev} + 1 - length $self->{s_kwd}, |
2772 |
}); |
}); |