()
| 441 | |
| 442 | // Parse a type-or-null |
| 443 | private Type type() { |
| 444 | int old = _lexer._position; |
| 445 | String tname = _lexer.matchId(); |
| 446 | if( tname==null ) return null; |
| 447 | Type t = TYPES.get(tname); |
| 448 | if( t == null ) { |
| 449 | // Not a type; unwind the parse |
| 450 | _lexer._position = old; |
| 451 | return null; |
| 452 | } |
| 453 | return t instanceof TypeStruct obj ? TypeMemPtr.make(obj,match("?")) : t; |
| 454 | } |
| 455 | |
| 456 | |
| 457 | /** |
no test coverage detected