static class Es6ToEs3Converter.ClassDeclarationMetadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
anonymous
Whether the constructor function in the output should be anonymous.
|
private java.util.Map<java.lang.String,JSDocInfo> |
classMembersToDeclare |
(package private) Node |
classNameNode |
private Node |
definePropertiesObjForClass
An object literal node that will be used in a call to Object.defineProperties, to add getters
and setters to the class.
|
private Node |
definePropertiesObjForPrototype
An object literal node that will be used in a call to Object.defineProperties, to add getters
and setters to the prototype.
|
(package private) java.lang.String |
fullClassName
The fully qualified name of the class, which will be used in the output.
|
private Node |
insertionPoint
A statement node.
|
private java.util.Map<java.lang.String,JSDocInfo> |
prototypeComputedPropsToDeclare |
private java.util.Map<java.lang.String,JSDocInfo> |
prototypeMembersToDeclare |
(package private) Node |
superClassNameNode |
Modifier | Constructor and Description |
---|---|
private |
ClassDeclarationMetadata(Node insertionPoint,
java.lang.String fullClassName,
boolean anonymous,
Node classNameNode,
Node superClassNameNode) |
Modifier and Type | Method and Description |
---|---|
(package private) static Es6ToEs3Converter.ClassDeclarationMetadata |
create(Node classNode,
Node parent) |
(package private) boolean |
hasSuperClass() |
(package private) void |
insertNodeAndAdvance(Node newNode) |
private Node insertionPoint
private final Node definePropertiesObjForPrototype
private final Node definePropertiesObjForClass
private final java.util.Map<java.lang.String,JSDocInfo> prototypeMembersToDeclare
private final java.util.Map<java.lang.String,JSDocInfo> prototypeComputedPropsToDeclare
private final java.util.Map<java.lang.String,JSDocInfo> classMembersToDeclare
final java.lang.String fullClassName
final boolean anonymous
final Node classNameNode
final Node superClassNameNode
static Es6ToEs3Converter.ClassDeclarationMetadata create(Node classNode, Node parent)
void insertNodeAndAdvance(Node newNode)
boolean hasSuperClass()