nimlexbase

Types

TBaseLexer = object of RootObj
  bufpos*: int
  buf*: cstring
  bufStorage: string
  bufLen: int
  stream*: PLLStream
  lineNumber*: int
  sentinel*: int
  lineStart*: int
  offsetBase*: int
  Source Edit

Consts

Lrz = ' '
  Source Edit
Apo = '\''
  Source Edit
Tabulator = '\t'
  Source Edit
ESC = '\e'
  Source Edit
CR = '\c'
  Source Edit
FF = '\f'
  Source Edit
LF = '\n'
  Source Edit
BEL = '\a'
  Source Edit
BACKSPACE = '\b'
  Source Edit
VT = '\v'
  Source Edit
EndOfFile = '\x00'
  Source Edit
NewLines = {'\c', '\n'}
  Source Edit

Procs

proc closeBaseLexer(L: var TBaseLexer) {...}{.raises: [], tags: [].}
  Source Edit
proc handleCR(L: var TBaseLexer; pos: int): int {...}{.raises: [IOError, Exception],
    tags: [ReadIOEffect, RootEffect].}
  Source Edit
proc handleLF(L: var TBaseLexer; pos: int): int {...}{.raises: [IOError, Exception],
    tags: [ReadIOEffect, RootEffect].}
  Source Edit
proc openBaseLexer(L: var TBaseLexer; inputstream: PLLStream; bufLen: int = 8192) {...}{.
    raises: [IOError, Exception], tags: [ReadIOEffect, RootEffect].}
  Source Edit
proc getColNumber(L: TBaseLexer; pos: int): int {...}{.raises: [], tags: [].}
  Source Edit
proc getCurrentLine(L: TBaseLexer; marker: bool = true): string {...}{.raises: [],
    tags: [].}
  Source Edit