public class FlattenedTreePrinter extends Object implements SnippetPrinter
| Constructor and Description |
|---|
FlattenedTreePrinter() |
| Modifier and Type | Method and Description |
|---|---|
String |
snippetToString(Snippet snippet,
boolean addUniqueIDs)
Receives a snippet and returns a string representation in the form of flattened trees.
|
public String snippetToString(Snippet snippet, boolean addUniqueIDs)
snippetToString in interface SnippetPrintersnippet - the snippet to be parsed.addUniqueIDs - boolean denoting whether statements should have IDs (true) or not (false).Copyright © 2017. All rights reserved.