Skip to content

Commit

Permalink
Remove PlanFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
RCHowell committed Oct 6, 2023
1 parent 0495946 commit 19837a2
Show file tree
Hide file tree
Showing 18 changed files with 1,901 additions and 5,088 deletions.
36 changes: 0 additions & 36 deletions partiql-ast/src/main/kotlin/org/partiql/ast/Ast.kt

This file was deleted.

11 changes: 11 additions & 0 deletions partiql-ast/src/main/kotlin/org/partiql/ast/normalize/AstPass.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.partiql.ast.normalize

import org.partiql.ast.Statement

/**
* Wraps a rewriter with a default entry point.
*/
public interface AstPass {

public fun apply(statement: Statement): Statement
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.partiql.ast.normalize

import org.partiql.ast.AstNode
import org.partiql.ast.AstPass
import org.partiql.ast.Expr
import org.partiql.ast.From
import org.partiql.ast.Statement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.partiql.ast.normalize

import org.partiql.ast.AstPass
import org.partiql.ast.Expr
import org.partiql.ast.Select
import org.partiql.ast.Statement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.partiql.ast.normalize

import org.partiql.ast.AstPass
import org.partiql.ast.Expr
import org.partiql.ast.From
import org.partiql.ast.Identifier
Expand Down

This file was deleted.

Loading

0 comments on commit 19837a2

Please sign in to comment.