Some initial work for debugging
This commit is contained in:
@@ -23,6 +23,11 @@ namespace Upsilon.Utilities
|
||||
{
|
||||
return node.GetNodeAtPosition(characterPosition).First();
|
||||
}
|
||||
|
||||
public static BoundStatement GetBottomStatementAtPosition(this BoundNode node, int characterPosition)
|
||||
{
|
||||
return (BoundStatement) node.GetNodeAtPosition(characterPosition).First(x => x is BoundStatement);
|
||||
}
|
||||
|
||||
public static Dictionary<string, VariableSymbol> GetBoundScopeVisibleVariables(this BoundScope scope)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user