StatementHandler

Constructors

Link copied to clipboard
constructor(lang: JavaLanguageFrontend?)

Types

Link copied to clipboard
object Companion

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: Statement): String?
Link copied to clipboard
fun getCodeBetweenTokens(startToken: JavaToken?, endToken: JavaToken?): String
Link copied to clipboard
fun getLocationsFromTokens(parentLocation: PhysicalLocation?, startToken: JavaToken?, endToken: JavaToken?): PhysicalLocation?
Link copied to clipboard
fun getNextTokenWith(text: String, startToken: JavaToken): JavaToken
Link copied to clipboard
fun getPreviousTokenWith(text: String, startToken: JavaToken): JavaToken
Link copied to clipboard
open fun handle(ctx: Statement): Statement?
Link copied to clipboard
fun handleBlockStatement(stmt: Statement): Block
Link copied to clipboard
fun handleCaseDefaultStatement(caseExpression: Expression?, sEntry: SwitchEntry): Statement
Link copied to clipboard
fun handleExpressionStatement(stmt: Statement): Statement?
Link copied to clipboard
Link copied to clipboard
open override fun locationOf(astNode: Statement): PhysicalLocation?