C# Класс Pchp.CodeAnalysis.AstUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
BodySpanOrInvalid ( this routine ) : Span
HasThisVariable ( MethodDecl method ) : bool

Determines whether method has $this variable.

IsAppStatic ( this field ) : bool

Lookups notation determining given field as app-static instead of context-static.

LinePosition ( this lines, int pos ) : LinePosition

Gets Microsoft.CodeAnalysis.Text.LinePosition from source position.

PatchItemUse ( ItemUse item ) : void

Fixes ItemUse so it propagates correctly through our visitor.

IsMemberOf will be set on Array, not ItemUse itself.

Описание методов

BodySpanOrInvalid() публичный статический Метод

public static BodySpanOrInvalid ( this routine ) : Span
routine this
Результат Span

HasThisVariable() публичный статический Метод

Determines whether method has $this variable.
public static HasThisVariable ( MethodDecl method ) : bool
method MethodDecl
Результат bool

IsAppStatic() публичный статический Метод

Lookups notation determining given field as app-static instead of context-static.
public static IsAppStatic ( this field ) : bool
field this
Результат bool

LinePosition() публичный статический Метод

Gets Microsoft.CodeAnalysis.Text.LinePosition from source position.
public static LinePosition ( this lines, int pos ) : LinePosition
lines this
pos int
Результат LinePosition

PatchItemUse() публичный статический Метод

Fixes ItemUse so it propagates correctly through our visitor.
IsMemberOf will be set on Array, not ItemUse itself.
public static PatchItemUse ( ItemUse item ) : void
item ItemUse
Результат void