PHP 클래스 SassScriptVariable

파일 보기 프로젝트 열기: richthegeek/phpsass 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $value ) SassVariable constructor
evaluate ( SassContext $context ) : SassLiteral Returns the SassScript object for this variable.
isa ( string $subject ) : mixed Returns a value indicating if a token of this type can be matched at the start of the subject string.

메소드 상세

__construct() 공개 메소드

SassVariable constructor
public __construct ( string $value )
$value string value of the Variable type

evaluate() 공개 메소드

Returns the SassScript object for this variable.
public evaluate ( SassContext $context ) : SassLiteral
$context SassContext context of the variable
리턴 SassLiteral the SassScript object for this variable

isa() 공개 정적인 메소드

Returns a value indicating if a token of this type can be matched at the start of the subject string.
public static isa ( string $subject ) : mixed
$subject string the subject string
리턴 mixed match at the start of the string or false if no match