Search in sources :

Example 1 with ThisExpressionTree

use of com.google.javascript.jscomp.parsing.parser.trees.ThisExpressionTree in project closure-compiler by google.

the class Parser method parseThisExpression.

private ThisExpressionTree parseThisExpression() {
    SourcePosition start = getTreeStartLocation();
    eat(TokenType.THIS);
    return new ThisExpressionTree(getTreeLocation(start));
}
Also used : ThisExpressionTree(com.google.javascript.jscomp.parsing.parser.trees.ThisExpressionTree) SourcePosition(com.google.javascript.jscomp.parsing.parser.util.SourcePosition)

Aggregations

ThisExpressionTree (com.google.javascript.jscomp.parsing.parser.trees.ThisExpressionTree)1 SourcePosition (com.google.javascript.jscomp.parsing.parser.util.SourcePosition)1