StoreStatement ParseStoreInstruction() { var expr = new StoreStatement(); AcceptElement(Token.Store); expr.ExprType = ParseType(); expr.Value = ParseExpression(); AcceptElement(Token.Comma); expr.Type = ParseType(); expr.PtrExpr = ParseExpression(); if (PeekElement().Type == Token.Comma) { AcceptElement(Token.Comma); AcceptElement(Token.Align); AcceptElement(Token.IntegerLiteral); } if (PeekElement().Type == Token.Comma) { AcceptElement(Token.Comma); AcceptElement(Token.Exclamation); AcceptElement(Token.Symbol); AcceptElement(Token.Exclamation); AcceptElement(Token.IntegerLiteral); } return(expr); }
public object Visit(StoreStatement storeStatement) { return(null); }