Return {rule index, rule alt number}
(int ra)
| 1012 | |
| 1013 | /** Return {rule index, rule alt number} */ |
| 1014 | public static int[] unrulealt(int ra) { |
| 1015 | if ( ra==-1 ) return new int[] {-1, ATN.INVALID_ALT_NUMBER}; |
| 1016 | return new int[] {(ra>>16)&0xFFFF,ra&0xFFFF}; |
| 1017 | } |
| 1018 | |
| 1019 | public static int indentcat(int deltaFromLeftAncestor, int child) { |
| 1020 | return CAT_INDENT_FROM_ANCESTOR_CHILD| (deltaFromLeftAncestor<<8) | (child << 16); |
no outgoing calls
no test coverage detected