start of new file
[IRC.git] / Robust / src / docs / tagimplementation
1 Example:
2 task test(Baz a {}{tag Foo x}, Bar b {}{tag Foo x, Tag Far y}) {
3 }
4
5 Idea: Each parameter with a tag has its own queue and a hashtable that
6 is indexed by the tag
7
8 When adding the object to the queue, the runtime: 
9
10 1) cycles through each tag of the appropriate type in that object and
11 index into the other queues for that tag
12
13 2) if multiple objects have that tag, have to search each possible
14 one...
15
16 3) if the parameter is specified to have a second tag, search through
17 each possible second tag
18
19 Each flag object has tag pointer - it can either point to a tag object
20 or a list of tags...