Skip to content

Commit

Permalink
Remove usage of toElectrolyteMetaContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 committed Jan 21, 2021
1 parent e4248fc commit 0ac50a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/src/org/partiql/lang/ast/ExprNodeToStatement.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal fun PartiQlMetaContainer.toIonElementMetaContainer(): IonElementMetaCon
com.amazon.ionelement.api.metaContainerOf(map { it.tag to it })

private fun SymbolicName.toSymbolPrimitive() : SymbolPrimitive =
SymbolPrimitive(this.name, this.metas.toElectrolyteMetaContainer())
SymbolPrimitive(this.name, this.metas.toIonElementMetaContainer())

private fun ExprNode.toAstDdl(): PartiqlAst.Statement {
val thiz = this
Expand Down Expand Up @@ -56,7 +56,7 @@ private fun ExprNode.toAstDdl(): PartiqlAst.Statement {

private fun ExprNode.toAstExec() : PartiqlAst.Statement {
val node = this
val metas = metas.toElectrolyteMetaContainer()
val metas = metas.toIonElementMetaContainer()

return PartiqlAst.build {
when (node) {
Expand Down

0 comments on commit 0ac50a8

Please sign in to comment.