Separate IsStatement check to utility module. Check by ASTNode's token. ASTNode::IsStatement removed thus.
Rewrite token predicates from utility with usage of switch statement.