IronPython.Compiler.Ast.Node.SetLoc C# (CSharp) Method

SetLoc() public method

public SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, IndexSpan span ) : void
globalParent IronPython.Compiler.Ast.PythonAst
span IndexSpan
return void
        public void SetLoc(PythonAst globalParent, IndexSpan span) {
            _span = span;
            _parent = globalParent;
        }

Same methods

Node::SetLoc ( IronPython.Compiler.Ast.PythonAst globalParent, int start, int end ) : void

Usage Example

Example #1
0
 private void CompleteParameterName(Node node, string name, Dictionary<string, object> names) {
     SourceSpan span = GetSpan();
     _sink.StartName(span, name);
     CheckUniqueParameter(names, name);
     node.SetLoc(span);
 }
All Usage Examples Of IronPython.Compiler.Ast.Node::SetLoc