add Node.TypeCheckNode api
Merge pull request #352 from wakamori/fix_syntax

add Node.TypeCheckNode api