|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.output.CustomCodeFormat
public class CustomCodeFormat
Customizable VHDL code format.
Field Summary |
---|
Fields inherited from interface de.upb.hni.vmagic.output.VhdlCodeFormat |
---|
DEFAULT |
Constructor Summary | |
---|---|
CustomCodeFormat()
Creates a custom code format. |
Method Summary | |
---|---|
java.lang.String |
getIndentationString()
Returns the indentation string. |
java.lang.String |
getLineSeparator()
Returns the line separator. |
boolean |
isAlign()
Returns if the output should be aligned. |
boolean |
isRepeatLabels()
Returns if labels are repeated at the end of a block. |
boolean |
isUpperCaseKeywords()
Returns if upper case keywords are used. |
void |
setAlign(boolean align)
Sets if the output should be aligned. |
void |
setIndentationString(java.lang.String indentationString)
Sets the indentation string. |
void |
setLineSeparator(java.lang.String lineSeparator)
Sets the line separator. |
void |
setRepeatLabels(boolean repeatLabels)
Sets if labels should be repeated at the end of a block. |
void |
setUpperCaseKeywords(boolean upperCaseKeywords)
Sets if upper case keywords should be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomCodeFormat()
Method Detail |
---|
public java.lang.String getLineSeparator()
getLineSeparator
in interface VhdlCodeFormat
public void setLineSeparator(java.lang.String lineSeparator)
lineSeparator
- the line separatorpublic java.lang.String getIndentationString()
getIndentationString
in interface VhdlCodeFormat
public void setIndentationString(java.lang.String indentationString)
indentationString
- the indentation stringpublic boolean isAlign()
isAlign
in interface VhdlCodeFormat
true
, if the code should be alignedpublic void setAlign(boolean align)
align
- true
, if the code should be alignedpublic boolean isRepeatLabels()
isRepeatLabels
in interface VhdlCodeFormat
true
, if labels should be repeatedpublic void setRepeatLabels(boolean repeatLabels)
repeatLabels
- true
, if labels should be repeatedpublic boolean isUpperCaseKeywords()
isUpperCaseKeywords
in interface VhdlCodeFormat
true
, if upper case keywords are usedpublic void setUpperCaseKeywords(boolean upperCaseKeywords)
upperCaseKeywords
- true
, if upper case keyword should be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |