Skip to content

Commit 57c5299

Browse files
author
Dan Vu
committed
removed some prints.
1 parent 3c28b78 commit 57c5299

1 file changed

Lines changed: 0 additions & 39 deletions

File tree

dsymbol/src/dsymbol/ufcs.d

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,8 @@ void printTokenType(const(Token)* token)
211211
{
212212
if (token is null)
213213
{
214-
error("HMMM token is null why?");
215214
return;
216215
}
217-
error("token type: ", token.type);
218216
switch (token.type)
219217
{
220218
case tok!"":
@@ -421,43 +419,6 @@ private void getUFCSSymbols(T, Y)(scope ref T localAppender, scope ref Y globalA
421419
}
422420
}
423421

424-
void printToken(const(Token)* token)
425-
{
426-
if (token is null)
427-
{
428-
error("HMMM token is null why?");
429-
return;
430-
}
431-
error("token text: ", token.text);
432-
error("token type: ", token.type);
433-
}
434-
435-
void printDsymbol(const(DSymbol)* sym)
436-
{
437-
if (sym is null)
438-
{
439-
error("HMMM is null why?");
440-
return;
441-
}
442-
error("name: ", sym.name);
443-
error("kind: ", sym.kind);
444-
error("protection: ", sym.protection);
445-
error("qualifier : ", sym.qualifier);
446-
error("type: ", sym.type);
447-
}
448-
449-
void printTokenCursorResult(TokenCursorResult result)
450-
{
451-
error("completionContext: ", result.completionContext);
452-
error("functionName: ", result.functionName);
453-
error("partialIdentifier: ", result.partialIdentifier);
454-
error("expressionTokens: ");
455-
foreach (t; result.expressionTokens)
456-
{
457-
printToken(&t);
458-
}
459-
}
460-
461422
DSymbol*[] getUFCSSymbolsForCursor(Scope* completionScope, scope ref const(Token)[] tokens, size_t cursorPosition)
462423
{
463424
TokenCursorResult tokenCursorResult = getCursorToken(completionScope, tokens, cursorPosition);

0 commit comments

Comments
 (0)