Beispiel #1
0
 public void Define(SymbolId name, Definition definition)
 {
     if (name != SymbolTable.Empty)
     {
         current.Define(name, definition);
     }
 }
 public void Define(SymbolId name, Definition definition)
 {
     cs.Define(name, definition);
 }
Beispiel #3
0
        public void Define(SymbolId name, Definition definition)
        {
            List<Definition> list;

            if (!definitions.TryGetValue(name, out list))
            {
                list = new List<Definition>();
                definitions[name] = list;
            }

            list.Add(definition);
        }