dimportsort

Undocumented in source.

Members

Classes

ImportIdentifiers
class ImportIdentifiers

Data type for identifiers in an import declaration. import mod : binds, ...;

ImportVisitor
class ImportVisitor

Functions

isConsective
bool isConsective(ImportDeclaration a, ImportDeclaration b)

Checks import declarations are consective.

toIdentifiers
ImportIdentifiers[] toIdentifiers(ImportDeclaration decl)

Decomposes multi module import decl to a list of single module with binds.

visitImports
ImportVisitor visitImports(string sourceCode, string fileName)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta