Skip to content

Language Frontends

Christian Banse edited this page Oct 16, 2021 · 4 revisions

What is a language frontend?

What is expected to be handled in a language frontend?

What CAN be done in a language frontend

  • Language frontends CAN set the refersTo property of a DeclaredReferenceExpression if they are sure that this is the declaration the reference refers to. It should however be reserved to special cases, the normal variable resolution should be handled by the VariableUsageResolver. See https://github.com/Fraunhofer-AISEC/cpg/pull/589 for more details.

What SHOULD not be done in a language frontend?