Class ASTStringLiteral

    • Method Detail

      • adjTokenLineNums

        @Deprecated
        public void adjTokenLineNums​(AbstractVmNode node)
        Deprecated.
        for removal with PMD 7.0.0
        Adjust all the line and column numbers that comprise a node so that they are corrected for the string literals position within the template file. This is necessary if an exception is thrown while processing the node so that the line and column position reported reflects the error position within the template and not just relative to the error position within the string literal.
      • isConstant

        public boolean isConstant()
        Check to see if this is an interpolated string.
        Returns:
        true if this is constant (not an interpolated string)
        Since:
        1.6