Search in sources :

Example 1 with ErrorNode

use of org.mozilla.javascript.ast.ErrorNode in project HL4A by HL4A.

the class Parser method makeErrorNode.

private ErrorNode makeErrorNode() {
    ErrorNode pn = new ErrorNode(ts.tokenBeg, ts.tokenEnd - ts.tokenBeg);
    pn.setLineno(ts.lineno);
    return pn;
}
Also used : ErrorNode(org.mozilla.javascript.ast.ErrorNode)

Aggregations

ErrorNode (org.mozilla.javascript.ast.ErrorNode)1