主权项 |
1. A device, comprising:
one or more processors to:
select a program code function associated with a graphical model,
the program code function including a set of identifiers;select an identifier of the set of identifiers;determine a particular set of entities that are referenceable at a program code location of the identifier,
the particular set of entities including:
a first set of entities of the program code function for which the identifier is within a lexical scope of the first set of entities, anda second set of entities of the graphical model for which the program code function is within a graphical scope of the second set of entities,the program code function being a C-function associated with C programming language, andwhere the one or more processors, when determining the particular set of entities that are referenceable at the program code location of the identifier, are further to: determine one or more entities of the C-function that are referenceable at the program code location of the identifier, determine a lexical scope within the C-function for the one or more entities of the C-function, and select, as the first set of entities of the program code function, the one or more entities of the C-function that are referenceable at the program code location of the identifier based on the lexical scope of the one or more entities of the C-function;determine whether the identifier corresponds to a particular entity of the particular set of entities that are referenceable at the program code location of the identifier; andprovide information associated with determining whether the identifier corresponds to the particular entity. |