Skip to content

[apex] Merge main (7.x) branch into experimental-apex-parser and fix tests#4479

Merged
adangel merged 6669 commits into
pmd:experimental-apex-parserfrom
aaronhurst-google:experimental-apex-parser
Sep 22, 2023
Merged

[apex] Merge main (7.x) branch into experimental-apex-parser and fix tests#4479
adangel merged 6669 commits into
pmd:experimental-apex-parserfrom
aaronhurst-google:experimental-apex-parser

Conversation

@aaronhurst-google

@aaronhurst-google aaronhurst-google commented Apr 18, 2023

Copy link
Copy Markdown
Contributor

Part of #3766

Merge main (7.x) branch into experimental-apex-parser and fix tests.

Conflict resolution and fixes include:
* Create root ASTApexFile nodes
* Correct source locations
* Insert comments by offset rather than line/column, using more of the mainline code
* Removed some unused methods
* Suppress Summit logger INFO output
* Suppress some (but not all) ANTLR version mismatch output
* Replace ASTFormalComment.getToken() with getImage()
* Remove deleted APIs: getLocation, hasSuppressWarningsAnnotationsFor, getModifiers
* Remove code that was factored into BaseApexClass
* Replace all references to Jorje in rules
* Passing AbstractApexNode instead of ApexNode during tree building
* Extending and using TextFileContent to convert line+column (as is native in Summit) to offset
* Using the new visitor method and interface
* Replace ApexRootNode with BaseApexClass
* Remove AbstractApexNodeBase

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants