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 class
EcmascriptParserOptions.Version
-
Field Summary
Fields Modifier and Type Field Description static net.sourceforge.pmd.properties.BooleanProperty
RECORDING_COMMENTS_DESCRIPTOR
static net.sourceforge.pmd.properties.BooleanProperty
RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
static 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 boolean
equals(Object obj)
EcmascriptParserOptions.Version
getRhinoLanguageVersion()
int
hashCode()
boolean
isRecordingComments()
boolean
isRecordingLocalJsDocComments()
void
setRecordingComments(boolean recordingComments)
void
setRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)
void
setRhinoLanguageVersion(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:
hashCode
in classnet.sourceforge.pmd.lang.ParserOptions
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classnet.sourceforge.pmd.lang.ParserOptions
-
-