Exemple #1
0
        public int AllocateVariable(string name, Type type)
        {
            var offset = NextVariableOffset;

            VariableOffsetEnvironment[name] = offset;
            VariableType[name] = type;
            NextVariableOffset--;
            return(offset);
        }
Exemple #2
0
 public IValue Visit(Syntax.Type type)
 {
     return(null);// new PointerValue(0); ////??????????????????????????
 }
Exemple #3
0
 public Statement Visit(Syntax.Type type)
 {
     return(null);
 }
Exemple #4
0
 public Void Visit(Syntax.Type type, SortedSet <string> free)
 {
     return(null);
 }