| |
|
| java.lang.Object org.netbeans.modules.el.lexer.ELLexer
ELLexer | public class ELLexer implements Lexer<ELTokenId>(Code) | | Lexical analyzer for Expression Language.
It does NOT recognizes the EL delimiters ${ } and #{ }
author: Petr Pisl author: Marek Fukala version: 1.00 |
Method Summary | |
public Token<ELTokenId> | matchKeyword(LexerInput lexerInput) | public Token<ELTokenId> | nextToken() This is core function of analyzer and it returns one of following numbers:
a) token number of next token from scanned text
b) EOL when end of line was found in scanned buffer
c) EOT when there is no more chars available in scanned buffer.
The function scans the active character and does one or more
of the following actions:
1. | public void | release() | public Object | state() |
matchKeyword | public Token<ELTokenId> matchKeyword(LexerInput lexerInput)(Code) | | |
nextToken | public Token<ELTokenId> nextToken()(Code) | | This is core function of analyzer and it returns one of following numbers:
a) token number of next token from scanned text
b) EOL when end of line was found in scanned buffer
c) EOT when there is no more chars available in scanned buffer.
The function scans the active character and does one or more
of the following actions:
1. change internal analyzer state (state = new-state)
2. return token ID (return token-ID)
3. adjust current position to signal different end of token;
the character that offset points to is not included in the token
|
release | public void release()(Code) | | |
|
|
|