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, setMaximumTrivialExpressionsInAggregateInitializers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaximumTrivialExpressionsInAggregateInitializers
public boolean shouldLimitTokensPerTranslationUnit()
IParserSettings2
IParserSettings2.getMaximumTokensPerTranslationUnit()
tokens.shouldLimitTokensPerTranslationUnit
in interface IParserSettings2
public int getMaximumTokensPerTranslationUnit()
IParserSettings2
IParserSettings2.shouldLimitTokensPerTranslationUnit()
returns true.getMaximumTokensPerTranslationUnit
in interface IParserSettings2
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.