int getType
Returns the node type. The following types are allowed:
- OPT_ROOT - template tree root.
- OPT_TEXT - static text.
- OPT_INSTRUCTION - instruction node.
- OPT_EXPRESSION - expression node.
- OPT_COMPONENT - component node.
- OPT_ATTRIBUTE - OPT attribute.
- OPT_UNKNOWN - any other node. The instruction programmer decides, how to parse it.