net.sourceforge.pmd.lang.ecmascript.ast
Class ASTObjectLiteral
java.lang.Object
net.sourceforge.pmd.lang.ast.AbstractNode
net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
net.sourceforge.pmd.lang.ecmascript.ast.ASTObjectLiteral
- All Implemented Interfaces:
- Node, DestructuringNode, EcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>, TrailingCommaNode
public class ASTObjectLiteral
- extends AbstractEcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
- implements DestructuringNode, TrailingCommaNode
Constructor Summary |
ASTObjectLiteral(org.mozilla.javascript.ast.ObjectLiteral objectLiteral)
|
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode |
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 |
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node |
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 |
ASTObjectLiteral
public ASTObjectLiteral(org.mozilla.javascript.ast.ObjectLiteral objectLiteral)
jjtAccept
public Object jjtAccept(EcmascriptParserVisitor visitor,
Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
- Overrides:
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.ObjectLiteral>
getObjectProperty
public ASTObjectProperty getObjectProperty(int index)
isDestructuring
public boolean isDestructuring()
- Specified by:
isDestructuring
in interface DestructuringNode
isTrailingComma
public boolean isTrailingComma()
- Specified by:
isTrailingComma
in interface TrailingCommaNode
setTrailingComma
public void setTrailingComma(boolean trailingComma)
- Specified by:
setTrailingComma
in interface TrailingCommaNode
Copyright © 2002-2016 InfoEther. All Rights Reserved.