Class EcmascriptParserOptions
- java.lang.Object
-
- net.sourceforge.pmd.lang.ParserOptions
-
- net.sourceforge.pmd.lang.ecmascript.EcmascriptParserOptions
-
@Deprecated public class EcmascriptParserOptions extends ParserOptions
Deprecated.Will be removed in 7.0 TODO refactor this into language versions? In PMD 6, useLanguageVersionHandler.getDefaultParserOptions()instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEcmascriptParserOptions.VersionDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static BooleanPropertyRECORDING_COMMENTS_DESCRIPTORDeprecated.static BooleanPropertyRECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTORDeprecated.static EnumeratedProperty<EcmascriptParserOptions.Version>RHINO_LANGUAGE_VERSIONDeprecated.-
Fields inherited from class net.sourceforge.pmd.lang.ParserOptions
suppressMarker
-
-
Constructor Summary
Constructors Constructor Description EcmascriptParserOptions()Deprecated.EcmascriptParserOptions(Rule rule)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Deprecated.EcmascriptParserOptions.VersiongetRhinoLanguageVersion()Deprecated.inthashCode()Deprecated.booleanisRecordingComments()Deprecated.booleanisRecordingLocalJsDocComments()Deprecated.voidsetRecordingComments(boolean recordingComments)Deprecated.voidsetRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)Deprecated.voidsetRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.ParserOptions
defineProperty, defineProperty, getProperty, getSuppressMarker, overridePropertiesFromEnv, setProperty, setSuppressMarker
-
-
-
-
Field Detail
-
RECORDING_COMMENTS_DESCRIPTOR
public static final BooleanProperty RECORDING_COMMENTS_DESCRIPTOR
Deprecated.
-
RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
public static final BooleanProperty RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
Deprecated.
-
RHINO_LANGUAGE_VERSION
public static final EnumeratedProperty<EcmascriptParserOptions.Version> RHINO_LANGUAGE_VERSION
Deprecated.
-
-
Constructor Detail
-
EcmascriptParserOptions
public EcmascriptParserOptions()
Deprecated.
-
EcmascriptParserOptions
public EcmascriptParserOptions(Rule rule)
Deprecated.
-
-
Method Detail
-
isRecordingComments
public boolean isRecordingComments()
Deprecated.
-
setRecordingComments
public void setRecordingComments(boolean recordingComments)
Deprecated.
-
isRecordingLocalJsDocComments
public boolean isRecordingLocalJsDocComments()
Deprecated.
-
setRecordingLocalJsDocComments
public void setRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)
Deprecated.
-
getRhinoLanguageVersion
public EcmascriptParserOptions.Version getRhinoLanguageVersion()
Deprecated.
-
setRhinoLanguageVersion
public void setRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classParserOptions
-
equals
public boolean equals(Object obj)
Deprecated.- Overrides:
equalsin classParserOptions
-
-