Class ParseResult
java.lang.Object
com.twineworks.tweakflow.lang.parse.ParseResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParseResulterror(LangException exception, long parseDurationMillis, long buildDurationMillis) longgetNode()longbooleanbooleanisError()booleanbooleanstatic ParseResultstatic ParseResultrecovery(ArrayList<LangException> errors, Node node, long parseDurationMillis, long buildDurationMillis)
-
Method Details
-
ok
-
error
public static ParseResult error(LangException exception, long parseDurationMillis, long buildDurationMillis) -
recovery
public static ParseResult recovery(ArrayList<LangException> errors, Node node, long parseDurationMillis, long buildDurationMillis) -
isSuccess
public boolean isSuccess() -
isError
public boolean isError() -
isRecovery
public boolean isRecovery() -
getNode
-
getException
-
hasRecoveryErrors
public boolean hasRecoveryErrors() -
getRecoveryErrors
-
getParseDurationMillis
public long getParseDurationMillis() -
getBuildDurationMillis
public long getBuildDurationMillis()
-