public override bool Visit(AstIntegerListExpression node) { ErrorIfIsNull(node.Expr); return true; }
public override bool Visit(AstIntegerListExpression node) { // TODO: check return true; }
// #TYPE_DEFINITION INT LEFT_BRACKET INTEGER_VALUE_LIST RIGHT_BRACKET private void ConstructIntArrayTypeDefinition() { List<AstIntegerValueExpression> dimensions = new List<AstIntegerValueExpression>(); AstIntegerValueExpression intVal; do { intVal = nodes.Pop() as AstIntegerValueExpression; dimensions.Add(intVal); } while((nodes.Peek() as AstIntegerValueExpression) != null); AstIntegerListExpression expr = new AstIntegerListExpression(dimensions.ToArray()); var typeDef = new AstIdArrayExpression(BuiltInTypes.INT, expr); PushNode(typeDef); }
public override bool Visit(AstIntegerListExpression node) { return true; }
public override bool Visit(AstIntegerListExpression node) { AstIdArrayExpression expr = Stack.Peek() as AstIdArrayExpression; if (expr == null) return true; return true; }
public abstract bool Visit(AstIntegerListExpression node);