Skip to content

Name Hierarchy Update#103

Draft
The-Ray-Man wants to merge 17 commits intomainfrom
ramon/name-hierarchy-update
Draft

Name Hierarchy Update#103
The-Ray-Man wants to merge 17 commits intomainfrom
ramon/name-hierarchy-update

Conversation

@The-Ray-Man
Copy link
Copy Markdown
Collaborator

@The-Ray-Man The-Ray-Man commented Apr 9, 2026

This PR should not be merged before #101

This PR refactors some part of the name hierarchy. This are the changes and the consequences:

Change:
SpecialName was split into DomainAssociatedFuncName and SpecialFieldName.
Consequence:

  • The domain associated functions (the functions that are closely related to the domain but not actually part of the domain e.g. addInt) are now prefixed with df (domain-function) instead of sp (special)
  • Special fields (at the moment just size) is prefixed with p (property) instead of sp

Change:
PredicateKotlinName was renamed to PredicateName and does no longer inherit KotlinName but FreshName. The same was done for HavocKotlinName.
Consequence:
The ScopedKotlinName does now hold a SymbolicName instead of a KotlinName. Also it was renamed to just ScopedName

Change:
The file FreshNames was renamed to FreshName to be consistent with KotlinName
Consequence:
None

Change:
NamedEntity was introduced as a top level interface for SymbolicName, FreshName, ScopeName, and NameType. This is also for preparation such that a future name resolver can collect all these things in a single collection.
Consequence:
None, all subtype relation which hold previously still hold.

Change:
SetOfNames was changed to ListOfNames and made generic.
Consequence:
None

Change:
Instead of giving function types just a list of names as name we introduce FunctionTypeName to give functions an actual name
Consequence:
None

@The-Ray-Man The-Ray-Man self-assigned this Apr 9, 2026
@The-Ray-Man The-Ray-Man force-pushed the ramon/name-hierarchy-update branch from 9fadcf6 to d7b0d62 Compare April 9, 2026 15:29
@The-Ray-Man The-Ray-Man force-pushed the ramon/name-hierarchy-update branch from 01d2050 to ff4795c Compare April 10, 2026 12:42
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.

1 participant