예제 #1
0
파일: Parser.cs 프로젝트: unknownv2/basm
        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));
        }
예제 #2
0
 public IntelInstructionStatementSyntax(IntelSyntaxToken instructionToken, ImmutableArray <ExpressionSyntax> operands)
     : base(instructionToken, operands)
 {
 }