Syntax enum Compile

An enum of syntaxes that Sass can parse.

Inheritance
Available extensions

Values

scss → const Syntax

The CSS-superset SCSS syntax.

const Syntax('SCSS')
sass → const Syntax

The whitespace-sensitive indented syntax.

const Syntax('Sass')
css → const Syntax

The plain CSS syntax, which disallows special Sass features.

const Syntax('CSS')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

forPath(String path) Syntax
Returns the default syntax to use for a file loaded from path.

Constants

values → const List<Syntax>
A constant List of the values in this enum, in order of their declaration.