AstForStatementsCreator

io.joern.csharpsrc2cpg.astcreation.AstForStatementsCreator
trait AstForStatementsCreator(implicit withSchemaValidation: ValidationMode)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AstCreator
Self type

Members list

Type members

Classlikes

final case class ConditionAstResult(conditionAst: Ast, prependIfBody: List[Ast])

Separates the AST result of a conditional expression into the condition as well as any declared variables to prepend.

Separates the AST result of a conditional expression into the condition as well as any declared variables to prepend.

Value parameters

conditionAst

the condition.

prependIfBody

statements to prepend to the if/then body.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

protected def astForCatchClause(catchClause: DotNetNodeInfo): Seq[Ast]
protected def astForCatchDeclaration(catchDeclaration: DotNetNodeInfo): Seq[Ast]
protected def astForFinallyClause(finallyClause: DotNetNodeInfo): Seq[Ast]
protected def astForGlobalStatement(globalStatement: DotNetNodeInfo): Seq[Ast]
def astForStatement(statement: Value): Seq[Ast]
protected def astForStatement(nodeInfo: DotNetNodeInfo): Seq[Ast]
protected def astForThrowStatement(throwStmt: DotNetNodeInfo): Seq[Ast]
protected def astForTryStatement(tryStmt: DotNetNodeInfo): Seq[Ast]