Class ParsedEnumConstant
java.lang.Object
org.openzen.zenscript.parser.definitions.ParsedEnumConstant
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<ParsedExpression>final Stringfinal CodePositionfinal ParsedExpression -
Constructor Summary
ConstructorsConstructorDescriptionParsedEnumConstant(CodePosition position, HighLevelDefinition definition, String name, int value, List<ParsedExpression> arguments, ParsedExpression expressionValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompileCode(DefinitionTypeID type, ExpressionScope scope) static ParsedEnumConstantparse(ZSTokenParser tokens, EnumDefinition definition, int value)
-
Field Details
-
position
-
name
-
arguments
-
value
-
-
Constructor Details
-
Method Details
-
parse
public static ParsedEnumConstant parse(ZSTokenParser tokens, EnumDefinition definition, int value) throws ParseException - Throws:
ParseException
-
getCompiled
-
compileCode
- Throws:
CompileException
-