DeclaratorHandler

Takes care of translating a declarator into a Declaration.

See DeclarationHandler for a detailed explanation, why this is split into a dedicated handler.

Constructors

Link copied to clipboard
constructor(lang: CXXLanguageFrontend)

Properties

Link copied to clipboard
open override val ctx: TranslationContext?
Link copied to clipboard
Link copied to clipboard
open override val language: Language<*>?
Link copied to clipboard
Link copied to clipboard
open override val namespace: Name?
Link copied to clipboard
open override val scope: Scope?

Functions

Link copied to clipboard
open override fun codeOf(astNode: IASTNode): String?
Link copied to clipboard
open override fun handle(ctx: IASTNode): Declaration?

We intentionally override the logic of Handler.handle because we do not want the map-based logic, but rather want to make use of the Kotlin-when syntax.

Link copied to clipboard
open override fun handleNode(node: IASTNode): Declaration
Link copied to clipboard
open override fun locationOf(astNode: IASTNode): PhysicalLocation?