-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
TypelessStructLiteralArg
and NewConstructorArg
interfac…
…es (#183) * Implement BracedNewConstructor * Clean up NEW operator implementation * Add testdata for NEW operators * Fix receiver of isExpr * Fix to use NamedType * Update to use p.parseNamedType() * Refactor SQL() using helper functions * Add NEW constructor section in ast * Fix comments * Update parser implementation of NEW constructors * Do go test --update * Fix code placement * Do go test --update * Separate StructLiteral to TupleStructLiteral, TypelessStructLiteral, TypedStructLiteral * Update testdata * Fix comment * Introduce AsExpr instead of TypelessStructValue and NewConstructorValue * Rename AsExpr to ExprAsName, and use `AsAlias` Also, this fixes a `AsAlias.As` position bug. * Update parser.go Co-authored-by: apstndb <[email protected]> * Introduce `TypelessStructLiteralArg` and `NewConstructorArg` * Remove requiredAs comments * Add constants for the tryParseAsAlias argument --------- Co-authored-by: apstndb <[email protected]>
- Loading branch information
1 parent
e50eded
commit db40951
Showing
100 changed files
with
2,176 additions
and
703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.