globals

    Dark Mode
Search:
Group by:

Types

Feature = enum
  ast2
State = ref object
  compile*: seq[string]
  convention*: string
  debug*: bool
  defines*: seq[string]
  dynlib*: string
  exclude*: seq[string]
  feature*: seq[Feature]
  includeDirs*: seq[string]
  mode*: string
  nim*: string
  noComments*: bool
  noHeader*: bool
  passC*: seq[string]
  passL*: seq[string]
  past*: bool
  pluginSourcePath*: string
  pnim*: bool
  preprocess*: bool
  prefix*: seq[string]
  recurse*: bool
  replace*: OrderedTableRef[string, string]
  suffix*: seq[string]
  symOverride*: seq[string]
  typeMap*: TableRef[string, string]
  when defined(TOAST):
      code*: string
      currentHeader*: string
      impShort*: string
      outputHandle*: File
      sourceFile*: string
      onSymbol*, onSymbolOverride*: OnSymbol
      onSymbolOverrideFinal*: OnSymbolOverrideFinal
      constIdentifiers*: HashSet[string]
      identifiers*: TableRef[string, string]
      skippedSyms*: HashSet[string]
      headersProcessed*: HashSet[string]
      constSection*, enumSection*, pragmaSection*, procSection*, typeSection*,
      varSection*: PNode
      identCache*: IdentCache
      config*: ConfigRef
      graph*: ModuleGraph
      identifierNodes*: TableRef[string, PNode]
      currentExpr*, currentTyCastName*: string
      skipIdentValidation*: bool
      wrapperHeader*: string

  else:
      compcache*: seq[string]
      nocache*: bool
      overrides*: string
      pluginSource*: string
      searchDirs*: seq[string]

  
BuildType = enum
  btAutoconf, btCmake
BuildStatus = object
  built*: bool
  buildPath*: string
  error*: string

Templates

template getCommented(str: string): string
template gecho(args: string)
template decho(args: varargs[string, `$`]): untyped
template nBl(s: typed): untyped {...}{.used.}
template Bl(s: typed): untyped {...}{.used.}