PHP 클래스 SassVariableNode

Represents a variable.
상속: extends SassNode
파일 보기 프로젝트 열기: richthegeek/phpsass 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( object $token ) : SassVariableNode SassVariableNode constructor.
isa ( object $token ) : boolean Returns a value indicating if the token represents this type of node.
parse ( SassContext $context ) : array Parse this node.

메소드 상세

__construct() 공개 메소드

SassVariableNode constructor.
public __construct ( object $token ) : SassVariableNode
$token object source token
리턴 SassVariableNode

isa() 공개 정적인 메소드

Returns a value indicating if the token represents this type of node.
public static isa ( object $token ) : boolean
$token object token
리턴 boolean true if the token represents this type of node, false if not

parse() 공개 메소드

Sets the variable in the current context.
public parse ( SassContext $context ) : array
$context SassContext the context in which this node is parsed
리턴 array the parsed node - an empty array