C# 클래스 Pchp.CodeAnalysis.ConstantValueExtensions

파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
ToConstantValueOrNull ( this value ) : ConstantValue

Tries to convert value to a ConstantValue if possible. Argument that doesn't have value or values which cannot be represented as ConstantValue causes a null reference to be returned.

메소드 상세

ToConstantValueOrNull() 공개 정적인 메소드

Tries to convert value to a ConstantValue if possible. Argument that doesn't have value or values which cannot be represented as ConstantValue causes a null reference to be returned.
public static ToConstantValueOrNull ( this value ) : ConstantValue
value this Optional boced value.
리턴 ConstantValue