Goblin - A Platform for 3D AR and VR Applications

CSharpAST.OpenScope Method 

Creates a new scope and sets it as the current scope. This will also add a definition to the parent scope if needed (in case of eg Class or Namespace, but not eg block or compile unit).

public Scope OpenScope(
   IScope graph
);

Parameters

graph
The current graph element.

Return Value

Returns a reference to the newly created scope.

See Also

CSharpAST Class | DDW.CSharp.Parse Namespace