mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
60 lines
2.6 KiB
Plaintext
60 lines
2.6 KiB
Plaintext
idetools_api.nim
|
|
> c --verbosity:0 --hints:on
|
|
SuccessX
|
|
> idetools --track:$TESTNIM,4,11 --def $SILENT
|
|
def\tskType\tsystem.TFile\tTFile
|
|
> idetools --track:$TESTNIM,5,7 --def $SILENT
|
|
def\tskProc\tsystem.Open\tproc \(var TFile, string, TFileMode, int\): bool
|
|
> idetools --track:$TESTNIM,5,21 --def $SILENT
|
|
def\tskProc\tsystem.\&\tproc \(string, string\): string\{.noSideEffect.\}
|
|
> idetools --track:$TESTNIM,5,38 --def $SILENT
|
|
def\tskEnumField\tsystem.TFileMode.fmWrite\tTFileMode
|
|
> idetools --track:$TESTNIM,7,6 --def $SILENT
|
|
def\tskProc\tsystem.Close\tproc \(TFile\)
|
|
> idetools --track:$TESTNIM,12,23 --def $SILENT
|
|
def\tskIterator\tunicode.runes\titerator \(string\): TRune
|
|
> idetools --track:$TESTNIM,12,15 --def $SILENT
|
|
def\tskTemplate\tsequtils.toSeq\tproc \(expr\): expr
|
|
> idetools --track:$TESTNIM,15,7 --def $SILENT
|
|
|
|
# ProcRun mode will fail the next line, because the type is returned empty.
|
|
def\tskConst\t$MODULE.SOME_SEQUENCE\tseq\[int\]\t
|
|
> idetools --track:$TESTNIM,15,23 --def $SILENT
|
|
def\tskProc\tsystem.@\tproc \(array\[IDX, T\]\): seq\[T\]\{.noSideEffect.\}
|
|
> idetools --track:$TESTNIM,17,3 --def $SILENT
|
|
|
|
# ProcRun mode will fail the next line, because the type is returned empty.
|
|
def\tskType\t$MODULE.bad_string\tbad_string\t
|
|
> idetools --track:$TESTNIM,11,24 --def $SILENT
|
|
def\tskParam\t$MODULE.test_iterators.filename\tstring
|
|
> idetools --track:$TESTNIM,6,5 --def $SILENT
|
|
def\tskVar\t$MODULE.test_enums.o\tTFile
|
|
> idetools --track:$TESTNIM,12,34 --def $SILENT
|
|
def\tskLet\t$MODULE.test_iterators.input\tTaintedString
|
|
> idetools --track:$TESTNIM,13,35 --def $SILENT
|
|
def\tskForVar\t$MODULE.test_iterators.letter\tTRune
|
|
> idetools --track:$TESTNIM,23,3 --def $SILENT
|
|
def\tskResult\t$MODULE.adder.result\tint
|
|
> idetools --track:$TESTNIM,19,6 --def $SILENT
|
|
|
|
# ProcRun mode will fail the next line, because the type is returned empty.
|
|
def\tskField\t$MODULE.TPerson.name\tbad_string\t
|
|
|
|
> idetools --track:$TESTNIM,43,7 --def $SILENT
|
|
def\tskMethod\t$MODULE.eval\tproc \(PPlusExpr\): int\t
|
|
|
|
> idetools --track:$TESTNIM,47,8 --def $SILENT
|
|
def\tskLabel\t$MODULE.findVowelPosition.loops\t\t
|
|
# For some reason the use of the label with break displaces its position.
|
|
> idetools --track:$TESTNIM,52,16 --def $SILENT
|
|
def\tskLabel\t$MODULE.findVowelPosition.loops\t\t
|
|
|
|
# Displaced macro usage by one character.
|
|
> idetools --track:$TESTNIM,80,2 --def $SILENT
|
|
def\tskMacro\t$MODULE.expect\tproc \(varargs\[expr\], stmt\): stmt\t
|
|
|
|
# The syntax for extended raw string literals should not be returned as module
|
|
# but as the proc re() inside the re module.
|
|
> idetools --track:$TESTNIM,84,17 --def $SILENT
|
|
!def\tskModule
|