C# Class Pchp.CodeAnalysis.Semantics.SemanticsBinder

Binds syntax nodes (AST.LangElement) to semantic nodes (IOperation).
ファイルを表示 Open project: iolevel/peachpie Class Usage Examples

Public Methods

Method 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

Method 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 method

public BindCatchVariable ( Devsense.PHP.Syntax.Ast x ) : BoundVariableRef
x Devsense.PHP.Syntax.Ast
return BoundVariableRef

BindExpression() public method

public BindExpression ( Devsense.PHP.Syntax.Ast expr, BoundAccess access ) : BoundExpression
expr Devsense.PHP.Syntax.Ast
access BoundAccess
return BoundExpression

BindExpressions() public method

public BindExpressions ( IEnumerable expressions ) : ImmutableArray
expressions IEnumerable
return ImmutableArray

BindStatement() public method

public BindStatement ( Devsense.PHP.Syntax.Ast stmt ) : BoundStatement
stmt Devsense.PHP.Syntax.Ast
return BoundStatement

BindStatements() public method

public BindStatements ( IEnumerable statements ) : IEnumerable
statements IEnumerable
return IEnumerable

BindTypeRef() public method

public BindTypeRef ( Devsense.PHP.Syntax.Ast tref ) : BoundTypeRef
tref Devsense.PHP.Syntax.Ast
return BoundTypeRef

SemanticsBinder() public method

public SemanticsBinder ( LocalsTable locals = null ) : Devsense.PHP.Syntax
locals LocalsTable
return Devsense.PHP.Syntax

TryGetConstantValue() public static method

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