Class EcmascriptParserOptions
- java.lang.Object
-
- net.sourceforge.pmd.lang.ParserOptions
-
- net.sourceforge.pmd.lang.ecmascript.EcmascriptParserOptions
-
public class EcmascriptParserOptions extends net.sourceforge.pmd.lang.ParserOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEcmascriptParserOptions.Version
-
Field Summary
Fields Modifier and Type Field Description static net.sourceforge.pmd.properties.BooleanPropertyRECORDING_COMMENTS_DESCRIPTORstatic net.sourceforge.pmd.properties.BooleanPropertyRECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTORstatic net.sourceforge.pmd.properties.EnumeratedProperty<EcmascriptParserOptions.Version>RHINO_LANGUAGE_VERSION
-
Constructor Summary
Constructors Constructor Description EcmascriptParserOptions()EcmascriptParserOptions(net.sourceforge.pmd.Rule rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)EcmascriptParserOptions.VersiongetRhinoLanguageVersion()inthashCode()booleanisRecordingComments()booleanisRecordingLocalJsDocComments()voidsetRecordingComments(boolean recordingComments)voidsetRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)voidsetRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)
-
-
-
Field Detail
-
RECORDING_COMMENTS_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty RECORDING_COMMENTS_DESCRIPTOR
-
RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
public static final net.sourceforge.pmd.properties.BooleanProperty RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
-
RHINO_LANGUAGE_VERSION
public static final net.sourceforge.pmd.properties.EnumeratedProperty<EcmascriptParserOptions.Version> RHINO_LANGUAGE_VERSION
-
-
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 classnet.sourceforge.pmd.lang.ParserOptions
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classnet.sourceforge.pmd.lang.ParserOptions
-
-