/// <summary> /// Checks the static semantic constraints of an IntValueNode. /// </summary> /// <returns>An void.</returns> /// <param name="node">Node.</param> public void VisitIntValueNode(IntValueNode node) { node.Accept(this.typeChecker); // This is not a statement so it needs not to be actually checked here. // So, we pass it to the TypeCheckerVisitor instead. }
public void VisitIntValueNode(IntValueNode node) { node.EvaluationType = TokenType.INTEGER_VAL; }