The idea of "value node" is that any node which can represent an AS value *anywhere* - property initializers, top-level declarations, whatever - is a value node. There are other node classes that map to AS types but represent more than simple values, i.e. legacy "special" nodes like RemoteObjectNode, etc. This class exists to provide a) a simple way of writing code against all value node types, without repeating a specific and somewhat awkward set of tests on the node's class, and b) an easy way to make sure you've covered all the cases. Of course in some cases it may be more convenient to simply switch on the node class. For typical use-cases, see callers of isValueNode, and subclasses.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.