src/repl/parser

Source   Edit  

Types

Parser = object
  ok*: bool
  text*: string
  tokens*: seq[string]
  expected*: string
Source   Edit  

Procs

proc consumeSpaces(self: Parser): Parser {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc matchInteger(self: Parser): Parser {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc matchKeywords(self: Parser; texts: varargs[string]): Parser {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc matchLabel(self: Parser): Parser {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc matchSymbols(self: Parser; texts: varargs[string]): Parser {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc matchText(self: Parser; texts: varargs[string]): Parser {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc matchType(self: Parser): Parser {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc matchUpTo(self: Parser; texts: varargs[string]): Parser {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc parse(text: string): Parser {....raises: [], tags: [], forbids: [].}
Source   Edit