-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cppast): add support for identifying namespaces
This commit adds support for identifying namespaces in the CPPBasicIdentListenerTest. A new test case `shouldIdentifyNameSpace` is added to test the identification of namespaces. The `CPPBasicIdentListener` is modified to handle the `enterNamespaceDefinition` event and extract the namespace name from the context. The extracted namespace name is then assigned to the `PackageName` property of the `CodeContainer` class.
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
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
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