Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ setTree
Method
setTree
src/org/antlr/codebuff/InputDocument.java:47–52 ·
view source on GitHub ↗
(ParserRuleContext root)
Source
from the content-addressed store, hash-verified
45
}
46
47
public
void
setTree(ParserRuleContext root) {
48
this.tree = root;
49
if
( root!=null ) {
50
tokenToNodeMap = Trainer.indexTree(root);
51
}
52
}
53
54
@Override
55
public
String toString() {
Callers
1
parse
Method · 0.95
Calls
1
indexTree
Method · 0.95
Tested by
no test coverage detected