reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
155 } while (Tok.K != Eof); 162 Tok = Lex.lex(); 165 Tok = Stack.back(); 171 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) 171 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) 178 if (Tok.K != Expected) 183 void unget() { Stack.push_back(Tok); } 187 switch (Tok.K) { 193 if (Tok.K != Identifier) { 206 bool IsDll = Tok.K == KwLibrary; // Check before parseName. 226 return createError("unknown directive: " + Tok.Value); 232 E.Name = Tok.Value; 234 if (Tok.K == Equal) { 236 if (Tok.K != Identifier) 237 return createError("identifier expected, but got " + Tok.Value); 239 E.Name = Tok.Value; 253 if (Tok.K == Identifier && Tok.Value[0] == '@') { 253 if (Tok.K == Identifier && Tok.Value[0] == '@') { 254 if (Tok.Value == "@") { 257 Tok.Value.getAsInteger(10, E.Ordinal); 258 } else if (Tok.Value.drop_front().getAsInteger(10, E.Ordinal)) { 267 if (Tok.K == KwNoname) { 274 if (Tok.K == KwData) { 278 if (Tok.K == KwConstant) { 282 if (Tok.K == KwPrivate) { 286 if (Tok.K == EqualEqual) { 288 E.AliasTarget = Tok.Value; 304 if (Tok.K != Comma) { 317 if (Tok.K == Identifier) { 318 *Out = Tok.Value; 325 if (Tok.K == KwBase) { 340 if (Tok.K != Identifier) 341 return createError("identifier expected, but got " + Tok.Value); 343 std::tie(V1, V2) = Tok.Value.split('.'); 345 return createError("integer expected, but got " + Tok.Value); 349 return createError("integer expected, but got " + Tok.Value);