Comments (3)
Comments (except /*! ... */
and /*+ ... */
) are dropped during tokenization. There's no way to recover it from AST. Perhaps you could parse the original string instead.
from parser.
Comments (except
/*! ... */
and/*+ ... */
) are dropped during tokenization. There's no way to recover it from AST. Perhaps you could parse the original string instead.
OK, thanks.
from parser.
Any easy way to include it in tokenization? Like a new type CommentNode
or something?
from parser.
Related Issues (20)
- how to get the table names from BinaryOperationExpr of where clause HOT 2
- cannot run the demo in README.md because of broken dependencies HOT 1
- The Collate in types.FieldType in ColumnDef seems to be always empty
- Invalid characters generated by goyacc? HOT 2
- how can use "with xx select" syntax HOT 4
- Parsing errors from mysqldump 8.0
- Error parsing default values for tables
- Provide an interface for other packages to obtain the provided symbol type
- Is it possible to extract table and its related columns from sql query? HOT 2
- Test_driver failed to process escaped char in string literal
- Mention this repo has been moved to pingcap/tidb HOT 1
- Ss
- Parsing errors from mysql dump HOT 4
- question: why SelectStmt do not have the WHERE condition(Clause) but only the ExprNode ? HOT 3
- Optimize parser performance HOT 1
- How to beautify sql with this package ? HOT 4
- Window Function syntax error
- Node.OriginTextPosition() always return 0 and Text() return empty
- The current parser does not support multi-statement SQL parsing. Is there any alternative method to solve this problem?
- character token too long: "identifier" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parser.