Add conditional to the type checking function. Epicparser will pass all conditional grammar in the ast.