protected static void addError()

in plugin/src/main/groovy/grails/plugins/redis/ast/AbstractMemoizeASTTransformation.groovy [276:282]


    protected static void addError(String msg, ASTNode node, SourceUnit source) {
        int line = node.lineNumber
        int col = node.columnNumber
        SyntaxException se = new SyntaxException("${msg}\n", line, col)
        SyntaxErrorMessage sem = new SyntaxErrorMessage(se, source)
        source.errorCollector.addErrorAndContinue(sem)
    }