Class ASTLiteralExpression

  • All Implemented Interfaces:
    ApexNode<apex.jorje.semantic.ast.expression.LiteralExpression>, net.sourceforge.pmd.lang.ast.Node

    public class ASTLiteralExpression
    extends AbstractApexNode<apex.jorje.semantic.ast.expression.LiteralExpression>
    • Field Summary

      • Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
    • Constructor Summary

      Constructors 
      Constructor Description
      ASTLiteralExpression​(apex.jorje.semantic.ast.expression.LiteralExpression literalExpression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getImage()  
      apex.jorje.data.ast.LiteralType getLiteralType()  
      String getName()  
      boolean isBoolean()  
      boolean isDecimal()  
      boolean isDouble()  
      boolean isInteger()  
      boolean isLong()  
      boolean isNull()  
      boolean isString()  
      Object jjtAccept​(ApexParserVisitor visitor, Object data)
      Accept the visitor.
      • Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
      • Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

        findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
    • Constructor Detail

      • ASTLiteralExpression

        public ASTLiteralExpression​(apex.jorje.semantic.ast.expression.LiteralExpression literalExpression)
    • Method Detail

      • getLiteralType

        public apex.jorje.data.ast.LiteralType getLiteralType()
      • isString

        public boolean isString()
      • isBoolean

        public boolean isBoolean()
      • isInteger

        public boolean isInteger()
      • isDouble

        public boolean isDouble()
      • isLong

        public boolean isLong()
      • isDecimal

        public boolean isDecimal()
      • isNull

        public boolean isNull()
      • getImage

        public String getImage()
        Specified by:
        getImage in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getImage in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getName

        public String getName()