메소드 |
설명 |
|
__construct ( array $options = [] ) : SassParser |
Constructor. |
|
__get ( string $name ) : mixed |
Getter. |
|
buildTree ( SassNode $parent ) : SassNode |
Builds a parse tree under the parent node. |
|
createToken ( string $statement ) : object | null |
Returns an object that contains the source statement and meta data about
it. |
|
getBasepath ( ) |
|
|
getCallbacks ( ) |
|
|
getDebug ( ) |
|
|
getDebug_info ( ) |
|
|
getFilename ( ) |
|
|
getFunctions ( ) |
|
|
getLevel ( string $source ) : integer |
Returns the level of the line. |
|
getLine ( ) |
|
|
getLine_numbers ( ) |
|
|
getLoad_path_functions ( ) |
|
|
getLoad_paths ( ) |
|
|
getNode ( SassNode $node ) : SassNode | null |
Creates and returns the next SassNode. |
|
getOptions ( ) |
|
|
getProperty_syntax ( ) |
|
|
getQuiet ( ) |
|
|
getSource ( ) |
|
|
getStyle ( ) |
|
|
getSyntax ( ) |
|
|
getToken ( ) : object |
Returns a token object that contains the next source statement and
meta data about it. |
|
parse ( string $source, boolean $isFile = true ) : SassRootNode |
Parse a sass file or Sass source code and
returns the document tree that can then be rendered. |
|
parseDirective ( stdClass $token, SassNode $parent ) : SassNode |
Parses a directive |
|
sass2Token ( ) : object |
Returns an object that contains the next source statement and meta data
about it from SASS source. |
|
scss2Token ( ) : object |
Returns an object that contains the next source statement and meta data
about it from SCSS source. |
|
setIndentChar ( ) |
Determine the indent character and indent spaces. |
|
toCss ( string $source, boolean $isFile = true ) : string |
Parse a sass file or Sass source code and returns the CSS. |
|
toTree ( string $source ) : SassRootNode |
Parse Sass source into a document tree. |
|