Search in sources :

Example 1 with FinallyTree

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

the class Parser method parseFinallyBlock.

private FinallyTree parseFinallyBlock() {
    SourcePosition start = getTreeStartLocation();
    eat(TokenType.FINALLY);
    BlockTree finallyBlock = parseBlock();
    return new FinallyTree(getTreeLocation(start), finallyBlock);
}
Also used : SourcePosition(com.google.javascript.jscomp.parsing.parser.util.SourcePosition) BlockTree(com.google.javascript.jscomp.parsing.parser.trees.BlockTree) FinallyTree(com.google.javascript.jscomp.parsing.parser.trees.FinallyTree)

Aggregations

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