int getType
Returns the block type. The following types are allowed:
- OPT_COMMAND - standalone block, without subnodes (for example {tag/})
- OPT_MASTER - opening block, probably contains nodes with nested elements: {tag}.
- OPT_ALT - alternative block, also could contain some nodes: {tagelse}.
- OPT_ENDER - closing block, without subnodes: {/tag}.