dart-sass/lib/src/functions.dart

15 lines
514 B
Dart
Raw Normal View History

2016-08-27 11:06:15 +02:00
// 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.
2016-08-28 01:12:17 +02:00
import 'ast/sass.dart';
2016-08-27 11:06:15 +02:00
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())));
}