Class ASTStringLiteral

    • Method Detail

      • adjTokenLineNums

        public void adjTokenLineNums​(AbstractVmNode node)
        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.
        true if this is constant (not an interpolated string)