blob: d9d73ea1a0dce8ec9d06e7f0a192791dd54145da [file] [log] [blame]
/*
* Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion A library may be divided into parts, each of which can be stored in a separate
* location. A library identifies its parts by listing them via part directives.
* A part directive specifies a URI where a Dart compilation unit that should
* be incorporated into the current library may be found.
* partDirective:
* metadata part uri ';'
* ;
* partHeader:
* metadata part of identifier (‘.’ identifier)* ‘;’
* ;
* partDeclaration:
* partHeader topLevelDefinition* EOF
* ;
* A part header begins with part of followed by the name of the library the
* part belongs to. A part declaration consists of a part header followed by a
* sequence of top-level declarations.
* @description Checks that it is a compile-time error if the part directive
* includes a function invocation expression instead of URI.
* @compile-error
* @author rodionov
* @reviewer kaigorodov
*/
part new StringBuffer("3_Part_0.dart").toString();
main() {
}