public class XMLPrettyPrinter extends AbstractPrettyPrinter
marked| Constructor and Description |
|---|
XMLPrettyPrinter(Grammar g) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Grammar g) |
protected String |
escapeSymbol(String s)
Escapes special symbols
|
byte[] |
getUTF16() |
byte[] |
getUTF8() |
dk.brics.xact.XML |
getXML()
Returns an XML representation of the grammar
|
String |
print() |
copyEasyNames, getEasyName, getNextNamepublic XMLPrettyPrinter(Grammar g)
public void apply(Grammar g)
apply in interface GrammarEntityVisitorapply in class AbstractGrammarEntityVisitorprotected String escapeSymbol(String s)
AbstractPrettyPrinterescapeSymbol in class AbstractPrettyPrinterpublic byte[] getUTF16()
public byte[] getUTF8()
public dk.brics.xact.XML getXML()
public String print()
Copyright © 2008-2013 Mathias Schwarz.