- All Implemented Interfaces:
Serializable,Comparable<SourceId>,Constable
Enum of all the types of nodes that a Snowberry Jam source file should have
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
AND
-
ARRAY_OF
-
ELEMENT_AT_INDEX
-
ERROR
-
DECREASE_MACRO
-
DIVIDE
-
EQUALS
-
GREATER_THAN
-
GREATER_OR_EQUAL_TO
-
IF
-
IF_ELSE
-
INCREASE_MACRO
-
INPUT
-
INPUT_MACRO
-
LESS_THAN
-
LESS_OR_EQUAL_TO
-
ON_RUN
-
OR
-
MINUS
-
MODULUS
-
MULTIPLY
-
NOT
-
NOT_EQUALS
-
PARSE_NUMBER
-
PLUS
-
PRINT
-
PROJECT
-
PUBLIC_FOLDER
-
RANDOM
-
READ_FILE
-
REPEAT
-
ROUND
-
SAME_TYPE
-
SET
-
SIZE_OF
-
SPLIT
-
THREAD
-
TIME
-
VARIABLE
-
WAIT
-
WAIT_UNTIL
-
WARN
-
WHILE
-
WITH_UPDATED_ELEMENT
-
-
Field Details
-
id
The string of what is actually found in"id":... -
beautified
A more pretty version of the ID
-
-
Constructor Details
-
SourceId
-
SourceId
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getBeautified
Get a pretty version of the ID- Returns:
- Value of variable
beautified. If null, returns thetoString()
-
toString
-