dart-sass/lib/src/ast/sass/callable_declaration.dart

23 lines
619 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.
import 'package:source_span/source_span.dart';
import 'argument_declaration.dart';
import 'statement.dart';
abstract class CallableDeclaration implements Statement {
final String name;
final ArgumentDeclaration arguments;
final List<Statement> children;
final FileSpan span;
CallableDeclaration(this.name, this.arguments, Iterable<Statement> children,
{this.span})
: children = new List.unmodifiable(children);
}