Пример #1
0
 /// <summary>
 /// Checks the static semantic constraints of a StringValueNode.
 /// </summary>
 /// <returns>An void.</returns>
 /// <param name="node">Node.</param>
 public void VisitStringValueNode(StringValueNode node)
 {
     // This is not a statement so it needs not to be actually checked here.
     // So, we pass it to the TypeCheckerVisitor instead.
     node.Accept(this.typeChecker);
 }
Пример #2
0
 public void VisitStringValueNode(StringValueNode node)
 {
     node.EvaluationType = TokenType.STRING_VAL;
 }