Project

General

Profile

Actions

Task #5421

open

Utility methods on expression nodes

Added by Artem Kotsynyak over 9 years ago. Updated almost 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
Expression
Target version:
Start date:
11/12/2014
Due date:
% Done:

20%

Estimated time:
Detected in build:
svn
Published in build:

Description

  • Shortcuts for standard operations, e.g. AND (...) to replace new NodeOperation(StandardOperation.AND, ...) etc.
  • Default TRUE and FALSE nodes w/o user data.
  • Node hierarchy checks: check if Node is a specific operation (Node x opId -> boolean), check if Node is a specific DataType value (Node x DataType -> boolean).
  • Complementary to NodeValue.newXXX: isXXX and getXXX.
  • Operands extraction.

Some of these can be found implemented or even duplicated in the codebase. This list is a subject to updates.

Actions

Also available in: Atom PDF