Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta issue on things to parse #15

Open
jecisc opened this issue Sep 11, 2024 · 0 comments
Open

Meta issue on things to parse #15

jecisc opened this issue Sep 11, 2024 · 0 comments

Comments

@jecisc
Copy link
Member

jecisc commented Sep 11, 2024

I'll use this issue as a todo list. Was is checked are things with a test in project1

  • Split visitor into two. One to create entities and one to do the resolution
  • Error handling to not stop the import
  • Skippable #tryToResolveInScope
  • Manage private entities
  • Heritage multiple
  • Model
    • Name
    • Root folder
    • Source language
  • Source anchor
    • Start/end
    • Complete text
    • Root folder
  • Packages
    • Name
    • Source anchor
    • Root
    • Subpackages
    • Stubs (from imports)
  • Namespace packages
  • Modules
    • Name
    • Module at Root
    • Module in package
    • Source anchor
    • 2 modules of the same name in different packages
  • Comments
    • In modules
    • In packages
    • In classes
    • In methods
    • In functions
    • Before classes
    • Before functions
    • Before methods
    • Before variables
    • Source anchor
  • Imports
    • Imports that are not at the beginning of the container
    • Clean duplication between the two import resolution classes
    • Refactor visit code of the imports that is currently not so clean
    • Have two imports identical should still produce two imports
    • Source anchor
    • Test import of a sub package that has the same name as a class contained in the same package
    • See if stub packages should be UnkownImportedEntities
    • Classic import
      • Manage absolute paths
      • Import packages
      • Import modules
      • From package
      • From Module
      • From methods
      • From classes
      • From functions
      • Stubs
      • Two stubs of the same name produce only one stub
      • Spaces in the middle of the imports
      • Alias
    • Import from
      • Test import two entities with the same name (the last one declared win)
      • Test with space after the dot
      • Manage relative paths
      • Manage absolute paths
      • Import packages
      • Import modules
      • Import Class
      • Import functions
      • Import variables
      • From package
      • From Module
      • From methods
      • From classes
      • From functions
      • Stubs
      • Multiple Items
      • Subs with relative imports (. and ..)
      • Alias
    • ImportLib/__import__
      • Manage relative paths
      • Manage absolute paths
      • Import packages
      • Import modules
      • Import Class
      • Import functions
      • Import variables
      • From package
      • From Module
      • From methods
      • From classes
      • From functions
      • Stubs
  • Functions
    • Inner functions
    • Two functions with the same name but different parameters
    • Two functions with the same name but different parents
  • Methods
    • Name
    • Parent
    • Signature
    • Constructor
    • Getters and Setters
    • Getters and Setters using @Property
    • Anchor
    • Stub
    • CC
    • Two methods with the same name but different parameters
    • Two methods with the same name but different parents
  • Classes
    • Exceptions
    • Superclasses
    • Superclass when not defined
    • Metaclasses
    • Classes in functions
    • Two classes with the same name but different parents
  • Local variables
    • Two local variables with the same name but different parents
  • Instance variables
    • In init
    • Not in init
    • stub
    • source anchor
    • name
    • Two instance variables with the same name but different parents
    • Multiple assignations creates only one var
  • Class variables
    • stub
    • At the beginning
    • In the middle
    • In a method?
    • source anchor
    • name
    • Two class variables with the same name but different parents
    • Multiple assignations creates only one var
  • Parameters
    • Two parameters with the same name but different parents
  • Global Variables
    • Name
    • Source anchor
    • Two global variables with the same name but different parents
  • Decorators
  • String
    • Manage expressions?
  • Accesses
    • Simple
    • In inner functions
    • Check if we can have embeded assignations (x = y = 2)
  • References
  • Invocations
  • Inheritance
  • Primitive types
  • Manage "global" keyword
  • Manage "nonlocal" keyword

I'll add thing little by little

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

No branches or pull requests

1 participant