Class EcmascriptParserOptions
- java.lang.Object
-
- net.sourceforge.pmd.lang.ParserOptions
-
- net.sourceforge.pmd.lang.ecmascript.EcmascriptParserOptions
-
public class EcmascriptParserOptions extends ParserOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEcmascriptParserOptions.Version
-
Field Summary
Fields Modifier and Type Field Description static BooleanPropertyRECORDING_COMMENTS_DESCRIPTORstatic BooleanPropertyRECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTORstatic EnumeratedProperty<EcmascriptParserOptions.Version>RHINO_LANGUAGE_VERSION-
Fields inherited from class net.sourceforge.pmd.lang.ParserOptions
suppressMarker
-
-
Constructor Summary
Constructors Constructor Description EcmascriptParserOptions()EcmascriptParserOptions(Rule rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)EcmascriptParserOptions.VersiongetRhinoLanguageVersion()inthashCode()booleanisRecordingComments()booleanisRecordingLocalJsDocComments()voidsetRecordingComments(boolean recordingComments)voidsetRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)voidsetRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)-
Methods inherited from class net.sourceforge.pmd.lang.ParserOptions
getSuppressMarker, setSuppressMarker
-
-
-
-
Field Detail
-
RECORDING_COMMENTS_DESCRIPTOR
public static final BooleanProperty RECORDING_COMMENTS_DESCRIPTOR
-
RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
public static final BooleanProperty RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
-
RHINO_LANGUAGE_VERSION
public static final EnumeratedProperty<EcmascriptParserOptions.Version> RHINO_LANGUAGE_VERSION
-
-
Constructor Detail
-
EcmascriptParserOptions
public EcmascriptParserOptions()
-
EcmascriptParserOptions
public EcmascriptParserOptions(Rule rule)
-
-
Method Detail
-
isRecordingComments
public boolean isRecordingComments()
-
setRecordingComments
public void setRecordingComments(boolean recordingComments)
-
isRecordingLocalJsDocComments
public boolean isRecordingLocalJsDocComments()
-
setRecordingLocalJsDocComments
public void setRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)
-
getRhinoLanguageVersion
public EcmascriptParserOptions.Version getRhinoLanguageVersion()
-
setRhinoLanguageVersion
public void setRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classParserOptions
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classParserOptions
-
-