net.sourceforge.pmd.lang.ecmascript.ast
Class ASTStringLiteral
java.lang.Object
net.sourceforge.pmd.lang.ast.AbstractNode
net.sourceforge.pmd.lang.ecmascript.ast.AbstractEcmascriptNode<org.mozilla.javascript.ast.StringLiteral>
net.sourceforge.pmd.lang.ecmascript.ast.ASTStringLiteral
- All Implemented Interfaces:
- Node, EcmascriptNode<org.mozilla.javascript.ast.StringLiteral>
public class ASTStringLiteral
- extends AbstractEcmascriptNode<org.mozilla.javascript.ast.StringLiteral>
Constructor Summary |
ASTStringLiteral(org.mozilla.javascript.ast.StringLiteral stringLiteral)
|
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, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, 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 |
ASTStringLiteral
public ASTStringLiteral(org.mozilla.javascript.ast.StringLiteral stringLiteral)
jjtAccept
public Object jjtAccept(EcmascriptParserVisitor visitor,
Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface EcmascriptNode<org.mozilla.javascript.ast.StringLiteral>
- Overrides:
jjtAccept
in class AbstractEcmascriptNode<org.mozilla.javascript.ast.StringLiteral>
getQuoteCharacter
public char getQuoteCharacter()
isSingleQuoted
public boolean isSingleQuoted()
isDoubleQuoted
public boolean isDoubleQuoted()
Copyright © 2002-2015 InfoEther. All Rights Reserved.