MCPcopy Create free account
hub / github.com/antlr/codebuff / aligncat

Method aligncat

src/org/antlr/codebuff/Trainer.java:1029–1031  ·  view source on GitHub ↗
(int deltaFromLeftAncestor, int child)

Source from the content-addressed store, hash-verified

1027 }
1028
1029 public static int aligncat(int deltaFromLeftAncestor, int child) {
1030 return CAT_ALIGN_WITH_ANCESTOR_CHILD | (deltaFromLeftAncestor<<8) | (child << 16);
1031 }
1032
1033 public static int[] triple(int v) {
1034 int deltaFromLeftAncestor = (v>>8)&0xFF;

Callers 1

getAlignmentCategoryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected