mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-10 06:48:36 +01:00
15 lines
524 B
Dart
15 lines
524 B
Dart
|
// Copyright 2016 Google Inc. Use of this source code is governed by an
|
||
|
// MIT-style license that can be found in the LICENSE file or at
|
||
|
// https://opensource.org/licenses/MIT.
|
||
|
|
||
|
import 'ast/sass/statement.dart';
|
||
|
import 'callable.dart';
|
||
|
import 'environment.dart';
|
||
|
import 'value.dart';
|
||
|
|
||
|
void defineCoreFunctions(Environment environment) {
|
||
|
environment.setFunction(new BuiltInCallable("inspect",
|
||
|
new ArgumentDeclaration([new Argument("value")]),
|
||
|
(arguments) => new SassIdentifier(arguments.single.toString())));
|
||
|
}
|