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

Method indentcat

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

Source from the content-addressed store, hash-verified

1017 }
1018
1019 public static int indentcat(int deltaFromLeftAncestor, int child) {
1020 return CAT_INDENT_FROM_ANCESTOR_CHILD| (deltaFromLeftAncestor<<8) | (child << 16);
1021 }
1022
1023 public static int[] unindentcat(int v) {
1024 int deltaFromLeftAncestor = (v>>8)&0xFF;

Callers 1

getAlignmentCategoryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected