PHP 클래스 SassMixinDefinitionNode

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

공개 메소드들

메소드 설명
__construct ( object $token ) : SassMixinDefinitionNode SassMixinDefinitionNode constructor.
getArgs ( ) : array Returns the arguments with default values for this mixin
isa ( object $token ) : boolean Returns a value indicating if the token represents this type of node.
parse ( SassContext $context ) : array Parse this node.

메소드 상세

__construct() 공개 메소드

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

getArgs() 공개 메소드

Returns the arguments with default values for this mixin
public getArgs ( ) : array
리턴 array the arguments with default values for this mixin

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() 공개 메소드

Add this mixin to 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