Package org.eclipse.cdt.core.parser
Class IParserSettings2.Default
java.lang.Object
org.eclipse.cdt.core.parser.ParserSettings
org.eclipse.cdt.core.parser.IParserSettings2.Default
- All Implemented Interfaces:
IParserSettings,IParserSettings2
- Enclosing interface:
IParserSettings2
An default implementation to be used as a base class by clients that want to
contribute parser settings. This base provides default values for all methods
so that clients will still compile when methods are added to the interface.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.parser.IParserSettings2
IParserSettings2.Default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum number of tokens that should be created while parsing any one translation unit.booleanReturns true if the parser should be aborted when a single translation unit has produced more thanIParserSettings2.getMaximumTokensPerTranslationUnit()tokens.Methods inherited from class org.eclipse.cdt.core.parser.ParserSettings
getMaximumTrivialExpressionsInAggregateInitializers, setMaximumTrivialExpressionsInAggregateInitializersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.cdt.core.parser.IParserSettings
getMaximumTrivialExpressionsInAggregateInitializers
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
shouldLimitTokensPerTranslationUnit
public boolean shouldLimitTokensPerTranslationUnit()Description copied from interface:IParserSettings2Returns true if the parser should be aborted when a single translation unit has produced more thanIParserSettings2.getMaximumTokensPerTranslationUnit()tokens.- Specified by:
shouldLimitTokensPerTranslationUnitin interfaceIParserSettings2
-
getMaximumTokensPerTranslationUnit
public int getMaximumTokensPerTranslationUnit()Description copied from interface:IParserSettings2Returns the maximum number of tokens that should be created while parsing any one translation unit. This value is used only whenIParserSettings2.shouldLimitTokensPerTranslationUnit()returns true.- Specified by:
getMaximumTokensPerTranslationUnitin interfaceIParserSettings2
-