public static class WhileyFile.Import extends wybs.lang.SyntacticElement.Impl implements WhileyFile.Declaration
ImportDeclaration ::= "import" [Identifier|Star "from"] Identifier ('.' Identifier|'*')*
The following illustrates a simple import statement:
import Console from whiley.lang.SystemHere, the package is
whiley.lang, the module is
System and the name is Console.| Constructor and Description |
|---|
Import(wyfs.util.Trie filter,
String name,
wybs.lang.Attribute... attributes) |
Copyright © 2017. All rights reserved.