public static class IParserSettings2.Default extends ParserSettings implements IParserSettings2
IParserSettings2.Default| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumTokensPerTranslationUnit()
Returns the maximum number of tokens that should be created while parsing any one translation unit.
|
boolean |
shouldLimitTokensPerTranslationUnit()
Returns true if the parser should be aborted when a single translation unit has produced
more than
IParserSettings2.getMaximumTokensPerTranslationUnit() tokens. |
getMaximumTrivialExpressionsInAggregateInitializers, setMaximumTrivialExpressionsInAggregateInitializersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaximumTrivialExpressionsInAggregateInitializerspublic boolean shouldLimitTokensPerTranslationUnit()
IParserSettings2IParserSettings2.getMaximumTokensPerTranslationUnit() tokens.shouldLimitTokensPerTranslationUnit in interface IParserSettings2public int getMaximumTokensPerTranslationUnit()
IParserSettings2IParserSettings2.shouldLimitTokensPerTranslationUnit() returns true.getMaximumTokensPerTranslationUnit in interface IParserSettings2Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.