public class ASTObjectLiteral extends AbstractEcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral> implements DestructuringNode, TrailingCommaNode
node
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTObjectLiteral(org.mozilla.javascript.ast.ObjectLiteral objectLiteral) |
Modifier and Type | Method and Description |
---|---|
ASTObjectProperty |
getObjectProperty(int index) |
boolean |
isDestructuring() |
boolean |
isTrailingComma() |
Object |
jjtAccept(EcmascriptParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setTrailingComma(boolean trailingComma) |
childrenAccept, getJsDoc, getNode, hasSideEffects, toString
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
public ASTObjectLiteral(org.mozilla.javascript.ast.ObjectLiteral objectLiteral)
public Object jjtAccept(EcmascriptParserVisitor visitor, Object data)
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
public ASTObjectProperty getObjectProperty(int index)
public boolean isDestructuring()
isDestructuring
in interface DestructuringNode
public boolean isTrailingComma()
isTrailingComma
in interface TrailingCommaNode
public void setTrailingComma(boolean trailingComma)
setTrailingComma
in interface TrailingCommaNode
Copyright © 2002-2015 InfoEther. All Rights Reserved.