summary refs log tree commit diff stats
path: root/rod/tigen.nim
blob: ef13fe42b975336b70cf5f7dc1b62eab68317f96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
#
#           The Nimrod Compiler
#        (c) Copyright 2008 Andreas Rumpf
#
#    See the file "copying.txt", included in this
#    distribution, for details about the copyright.
#

# Type information generator. It transforms types into the AST of walker
# procs. This is used by the code generators.

import 
  ast, astalgo, strutils, nhashes, trees, treetab, platform, magicsys, options, 
  msgs, crc, idents, lists, types, rnimsyn

proc gcWalker*(t: PType): PNode
proc initWalker*(t: PType): PNode
proc asgnWalker*(t: PType): PNode
proc reprWalker*(t: PType): PNode
# implementation

proc gcWalker(t: PType): PNode = 
  nil

proc initWalker(t: PType): PNode = 
  nil

proc asgnWalker(t: PType): PNode = 
  nil

proc reprWalker(t: PType): PNode = 
  nil