Statements.NewExpressionStatement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 1, 1 })]
public static Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement,Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]> NewExpressionStatement (Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments, Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation location, Microsoft.Quantum.QsCompiler.SyntaxProcessing.ScopeContext context, Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpression expr);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1, 1, 1 })>]
Microsoft.Quantum.QsCompiler.SyntaxProcessing.Statements.NewExpressionStatement : Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsLocation -> Microsoft.Quantum.QsCompiler.SyntaxProcessing.ScopeContext -> Microsoft.Quantum.QsCompiler.SyntaxTokens.QsExpression -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement * Microsoft.Quantum.QsCompiler.DataTypes.QsCompilerDiagnostic[]
Public Shared Function NewExpressionStatement (comments As QsComments, location As QsLocation, context As ScopeContext, expr As QsExpression) As Tuple(Of QsStatement, QsCompilerDiagnostic())
Parameters
- comments
- QsComments
- location
- QsLocation
- context
- ScopeContext
- expr
- QsExpression
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute