Example #1
0
 internal protected virtual T Visit(VariableReference node)
 {
     return(Visit(node as Expression));
 }
Example #2
0
 internal VariableDescriptor(VariableReference proto, bool defined, int defineDepth)
 {
     this.defineDepth = defineDepth;
     this.name = proto.Name;
     if (proto is FunctionExpression.FunctionReference)
         Inititalizator = (proto as FunctionExpression.FunctionReference).Owner;
     references = new List<VariableReference>();
     references.Add(proto);
     proto.descriptor = this;
     this.isDefined = defined;
 }