public class EcmascriptParserOptions extends ParserOptions
Modifier and Type | Class and Description |
---|---|
static class |
EcmascriptParserOptions.Version |
Modifier and Type | Field and Description |
---|---|
static BooleanProperty |
RECORDING_COMMENTS_DESCRIPTOR |
static BooleanProperty |
RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR |
static EnumeratedProperty<EcmascriptParserOptions.Version> |
RHINO_LANGUAGE_VERSION |
suppressMarker
Constructor and Description |
---|
EcmascriptParserOptions() |
EcmascriptParserOptions(Rule rule) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
EcmascriptParserOptions.Version |
getRhinoLanguageVersion() |
int |
hashCode() |
boolean |
isRecordingComments() |
boolean |
isRecordingLocalJsDocComments() |
void |
setRecordingComments(boolean recordingComments) |
void |
setRecordingLocalJsDocComments(boolean recordingLocalJsDocComments) |
void |
setRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion) |
getSuppressMarker, setSuppressMarker
public static final BooleanProperty RECORDING_COMMENTS_DESCRIPTOR
public static final BooleanProperty RECORDING_LOCAL_JSDOC_COMMENTS_DESCRIPTOR
public static final EnumeratedProperty<EcmascriptParserOptions.Version> RHINO_LANGUAGE_VERSION
public EcmascriptParserOptions()
public EcmascriptParserOptions(Rule rule)
public boolean isRecordingComments()
public void setRecordingComments(boolean recordingComments)
public boolean isRecordingLocalJsDocComments()
public void setRecordingLocalJsDocComments(boolean recordingLocalJsDocComments)
public EcmascriptParserOptions.Version getRhinoLanguageVersion()
public void setRhinoLanguageVersion(EcmascriptParserOptions.Version rhinoLanguageVersion)
public int hashCode()
hashCode
in class ParserOptions
public boolean equals(java.lang.Object obj)
equals
in class ParserOptions
Copyright © 2002–2018 PMD. All rights reserved.