semantic analysis

Also known as context sensitive analysis. The semantic analysis runs in the compiler after it gathers the necessary semantic information from the source code (the code you wrote).