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

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