use of com.google.javascript.jscomp.parsing.parser.trees.LiteralExpressionTree in project closure-compiler by google.
the class Parser method parseRegularExpressionLiteral.
private ParseTree parseRegularExpressionLiteral() {
SourcePosition start = getTreeStartLocation();
LiteralToken literal = nextRegularExpressionLiteralToken();
return new LiteralExpressionTree(getTreeLocation(start), literal);
}
use of com.google.javascript.jscomp.parsing.parser.trees.LiteralExpressionTree in project closure-compiler by google.
the class Parser method parseLiteralExpression.
private LiteralExpressionTree parseLiteralExpression() {
SourcePosition start = getTreeStartLocation();
Token literal = nextLiteralToken();
return new LiteralExpressionTree(getTreeLocation(start), literal);
}
Aggregations