Refactor Parser Interfaces
Do not pass around the MutableTree -- now that we are not using queries for walking the AST, it is unnecessary. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -24,7 +24,7 @@ import TreeSitterP4
|
||||
|
||||
public protocol CompilableStatement {
|
||||
static func Compile(
|
||||
node: Node, inTree tree: MutableTree, withScopes scopes: LexicalScopes
|
||||
node: Node, withTypesInScope scopes: LexicalScopes
|
||||
) -> Result<(EvaluatableStatement, LexicalScopes)>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user