Skip to content

How can I know the exact meaning of a AST node. #2004

Answered by manticore-projects
yszc asked this question in Q&A
Discussion options

You must be logged in to vote

I am sorry to tell you that exactly this kind of documentation is missing, because nobody has the time and resources to write it.
Of course you are most welcome to submit PRs with JavaDoc when you are on this job now.

Btw, IntelliJ has an excellent JavaCC plugin which makes it easy to find the production for each AST class.
Also, you could parse the grammar with javaCC itself to get the BNF of each production and last but not least https://manticore-projects.com/JSQLParser/syntax_snapshot.html will show you the Grammar and has a searchable side bar.

Example for AllTableColumns: https://manticore-projects.com/JSQLParser/syntax_snapshot.html#alltablecolumns

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@yszc
Comment options

@manticore-projects
Comment options

Answer selected by yszc
@yszc
Comment options

@manticore-projects
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants