C# Class Pchp.CodeAnalysis.Semantics.SemanticsBinder

Binds syntax nodes (AST.LangElement) to semantic nodes (IOperation).
Afficher le fichier Open project: iolevel/peachpie Class Usage Examples

Méthodes publiques

Méthode Description
BindCatchVariable ( Devsense.PHP.Syntax.Ast x ) : BoundVariableRef
BindExpression ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
BindExpressions ( IEnumerable expressions ) : ImmutableArray
BindStatement ( Devsense.PHP.Syntax.Ast stmt ) : BoundStatement
BindStatements ( IEnumerable statements ) : IEnumerable
BindTypeRef ( Devsense.PHP.Syntax.Ast tref ) : BoundTypeRef
SemanticsBinder ( LocalsTable locals = null ) : Devsense.PHP.Syntax
TryGetConstantValue ( PhpCompilation compilation, Devsense.PHP.Syntax.Ast value ) : ConstantValue

Private Methods

Méthode Description
BindArguments ( IEnumerable parameters ) : ImmutableArray
BindArguments ( IEnumerable expressions ) : ImmutableArray
BindArrayEx ( Devsense.PHP.Syntax.Ast x, BoundAccess access ) : BoundExpression
BindArrayItems ( Devsense.PHP.Syntax.Ast items ) : BoundExpression>>.IEnumerable
BindAssignEx ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
BindBinaryEx ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindConcatEx ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindConditionalEx ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindConstUse ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindExitEx ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindExpression ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindExpressionCore ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
BindFieldUse ( Devsense.PHP.Syntax.Ast x, BoundAccess access ) : BoundExpression
BindFunctionCall ( Devsense.PHP.Syntax.Ast x, BoundAccess access ) : BoundRoutineCall
BindGlobalConstUse ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindIncDec ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindIncludeEx ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindInstanceOfEx ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindIsEmptyEx ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindIsSet ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindItemUse ( Devsense.PHP.Syntax.Ast x, BoundAccess access ) : BoundExpression
BindJumpStmt ( Devsense.PHP.Syntax.Ast stmt ) : BoundStatement
BindListEx ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindLiteral ( Devsense.PHP.Syntax.Ast expr ) : BoundExpression
BindNew ( Devsense.PHP.Syntax.Ast x, BoundAccess access ) : BoundExpression
BindPseudoConst ( Devsense.PHP.Syntax.Ast x ) : BoundExpression
BindSimpleVarUse ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
BindUnaryEx ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
BindVarLikeConstructUse ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
CreateConstant ( Devsense.PHP.Syntax.Ast expr ) : ConstantValue

Method Details

BindCatchVariable() public méthode

public BindCatchVariable ( Devsense.PHP.Syntax.Ast x ) : BoundVariableRef
x Devsense.PHP.Syntax.Ast
Résultat BoundVariableRef

BindExpression() public méthode

public BindExpression ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
expr Devsense.PHP.Syntax.Ast
access BoundAccess
Résultat BoundExpression

BindExpressions() public méthode

public BindExpressions ( IEnumerable expressions ) : ImmutableArray
expressions IEnumerable
Résultat ImmutableArray

BindStatement() public méthode

public BindStatement ( Devsense.PHP.Syntax.Ast stmt ) : BoundStatement
stmt Devsense.PHP.Syntax.Ast
Résultat BoundStatement

BindStatements() public méthode

public BindStatements ( IEnumerable statements ) : IEnumerable
statements IEnumerable
Résultat IEnumerable

BindTypeRef() public méthode

public BindTypeRef ( Devsense.PHP.Syntax.Ast tref ) : BoundTypeRef
tref Devsense.PHP.Syntax.Ast
Résultat BoundTypeRef

SemanticsBinder() public méthode

public SemanticsBinder ( LocalsTable locals = null ) : Devsense.PHP.Syntax
locals LocalsTable
Résultat Devsense.PHP.Syntax

TryGetConstantValue() public static méthode

public static TryGetConstantValue ( PhpCompilation compilation, Devsense.PHP.Syntax.Ast value ) : ConstantValue
compilation PhpCompilation
value Devsense.PHP.Syntax.Ast
Résultat ConstantValue