Package de.spraener.nxtgen
Class IndentationCodeBlock
java.lang.Object
de.spraener.nxtgen.SimpleStringCodeBlock
de.spraener.nxtgen.IndentationCodeBlock
- All Implemented Interfaces:
CodeBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a single line to the code blockMethods inherited from class de.spraener.nxtgen.SimpleStringCodeBlock
addCodeBlock, getName, setToFileStrategy, toCode, writeOutput
-
Constructor Details
-
IndentationCodeBlock
-
-
Method Details
-
println
Description copied from interface:CodeBlockAdd a single line to the code block- Specified by:
printlnin interfaceCodeBlock- Overrides:
printlnin classSimpleStringCodeBlock- Parameters:
lineText- Some text to print into the codeblock
-
getLinePrefix
-