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

Method unindentcat

src/org/antlr/codebuff/Trainer.java:1023–1027  ·  view source on GitHub ↗
(int v)

Source from the content-addressed store, hash-verified

1021 }
1022
1023 public static int[] unindentcat(int v) {
1024 int deltaFromLeftAncestor = (v>>8)&0xFF;
1025 int child = (v>>16)&0xFFFF;
1026 return new int[] { deltaFromLeftAncestor, child };
1027 }
1028
1029 public static int aligncat(int deltaFromLeftAncestor, int child) {
1030 return CAT_ALIGN_WITH_ANCESTOR_CHILD | (deltaFromLeftAncestor<<8) | (child << 16);

Callers 1

indentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected