Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor builder and add basic nomnoml support
- Loading branch information
Showing
16 changed files
with
368 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:analyzer/dart/element/element.dart'; | ||
import 'package:analyzer/dart/element/type.dart'; | ||
|
||
abstract class DiagramBuilder { | ||
set excludeHasA(bool value); | ||
void addAggregation(FieldElement element); | ||
|
||
set excludeIsA(bool value); | ||
void addField(FieldElement element); | ||
|
||
set excludePrivateClasses(bool value); | ||
void addInterface(InterfaceType element); | ||
|
||
set excludePrivateFields(bool value); | ||
void addMethod(MethodElement element); | ||
|
||
set excludePrivateMethods(bool value); | ||
void addMixin(InterfaceType element); | ||
|
||
void addField(FieldElement element); | ||
void addSuper(InterfaceType element); | ||
|
||
void addMethod(MethodElement element); | ||
void beginClass(ClassElement element); | ||
|
||
void finishClass(ClassElement element); | ||
void endClass(ClassElement element); | ||
|
||
void printContent(void printer(String content)); | ||
|
||
void startClass(ClassElement element); | ||
|
||
void writeContent(File file); | ||
} |
Oops, something went wrong.