Exemple #1
0
        private ExpressionSyntax ParseBracketExpression()
        {
            var sizeDirective = new IntelSyntaxToken(SyntaxKind.SizeDirectiveToken, 0, string.Empty, null);
            var openBracket   = MatchToken(SyntaxKind.OpenBracketToken);
            var expression    = ParseStatement();
            var closeBracket  = MatchToken(SyntaxKind.CloseBracketToken);

            return(new BracketedExpressionSyntax(sizeDirective, openBracket, expression, closeBracket));
        }
Exemple #2
0
 public IntelInstructionStatementSyntax(IntelSyntaxToken instructionToken, ImmutableArray <ExpressionSyntax> operands)
     : base(instructionToken, operands)
 {
 }