public fail ( string fmt ) : |
||
fmt | string | |
리턴 |
// TODO: // WE should implement actual reader macros for this part of things. private static TokenType?matchHash(Scanner s) { if (s.peek() != '#') { return(null); } s.readChar(); if (s.peek() == '(') { s.readChar(); return(TokenType.VectorOpen); } if (s.isOneOf("tfTF")) { s.readChar(); return(TokenType.Boolean); } throw s.fail("Unrecognized token"); }
// TODO: // WE should implement actual reader macros for this part of things. private static TokenType? matchHash(Scanner s) { if (s.peek() != '#') return null; s.readChar(); if(s.peek() == '(') { s.readChar(); return TokenType.VectorOpen; } if(s.isOneOf("tfTF")) { s.readChar(); return TokenType.Boolean; } throw s.fail("Unrecognized token"); }