public interface Tokenizer
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SKIP_BLOCKS_PATTERN |
static String |
IGNORE_ANNOTATIONS |
static String |
IGNORE_IDENTIFIERS |
static String |
IGNORE_LITERALS |
static String |
OPTION_SKIP_BLOCKS
Enables or disabled skipping of blocks like a pre-processor.
|
static String |
OPTION_SKIP_BLOCKS_PATTERN
Configures the pattern, to find the blocks to skip.
|
Modifier and Type | Method and Description |
---|---|
void |
tokenize(SourceCode sourceCode,
Tokens tokenEntries) |
static final String IGNORE_LITERALS
static final String IGNORE_IDENTIFIERS
static final String IGNORE_ANNOTATIONS
static final String OPTION_SKIP_BLOCKS
true
.static final String OPTION_SKIP_BLOCKS_PATTERN
|
.
The first part is the start pattern, the second part is the ending pattern.
Default value is "#if 0|#endif
".static final String DEFAULT_SKIP_BLOCKS_PATTERN
void tokenize(SourceCode sourceCode, Tokens tokenEntries) throws IOException
IOException
Copyright © 2002-2015 InfoEther. All Rights Reserved.