Basic Commands (Template Language)

Basic commands of Software Ideas Modeler template language.
Command Name Result Type Description
Equals(x,y) Boolean Returns true if x is equal to y.
GreaterThan(x,y) Boolean Returns true if x is greater than y.
GT(x,y) Boolean Abbreviation for GreaterThan command.
LessThan(x,y) Boolean Returns true if x is less than y.
LT(x,y) Boolean Abbreviation for LessThan command.
Imports Enumeration Returns the enumeration of defined imports.
IsEmpty(x) Boolean Returns true if x is not evaluated, null or an empty string.
IsLastItem Boolean Returns true if the current item of enumeration is the last one.
ExplicitWhitespacesOn Boolean Turns on explicit whitespaces. Whitespaces will be added to the output only using commands (Indent, Line, Space, Tab).
ExplicitWhitespacesOff Boolean Turns off explicit whitespaces. All whitespaces from template file will be added to the output.
ExplicitLinesOn Boolean Turns on explicit lines. Line breaks will be added to the output only using command (Line).
ExplicitLinesOff Boolean Turns off explicit lines. All line breaks from template file will be added to the output.
CompactOn Boolean Turns on compaction of the output. All unnecessary whitespaces will be removed.
CompactOff Boolean Turns off compaction of the output.
Now DateTime Returns current date and time.
Today Date Returns current date.
Coalesce(p1, p2, ... pn) Object Returns the first not empty object.

New Comment

Comment