private EnsureVariable ( string name ) : |
||
name | string | |
return |
internal override bool TryBindOuter(ScopeStatement from, PythonReference reference, out PythonVariable variable) { if (reference.Name == "__class__") { variable = from.EnsureVariable(reference.Name); return(true); } return(base.TryBindOuter(from, reference, out variable)); }
internal PythonVariable DefineName(string name) { return(_currentScope.EnsureVariable(name)); }