Skip to content

Instantly share code, notes, and snippets.

@Jingbang-liu-lix
Created October 1, 2019 01:32
Show Gist options
  • Save Jingbang-liu-lix/e5fa497b14d943ad4b8695bfe4ea3d60 to your computer and use it in GitHub Desktop.
Save Jingbang-liu-lix/e5fa497b14d943ad4b8695bfe4ea3d60 to your computer and use it in GitHub Desktop.
Evaluation Node Example
class EvalNode<RETURN_TYPE> {
List<EvalNode> children = new ArrayList<>();
RETURN_TYPE compute(DslExecutionContext context, AbstractEvalTree tree, int thisNodePosition);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment