QsDeclarationAttribute.New Method

Definition

public static Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute New (Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.UserDefinedType> typeId, Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> typeIdRange, Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression argument, Microsoft.Quantum.QsCompiler.DataTypes.Position offset, Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments comments);
static member New : Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.SyntaxTree.UserDefinedType> * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<Microsoft.Quantum.QsCompiler.DataTypes.Range> * Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * Microsoft.Quantum.QsCompiler.DataTypes.Position * Microsoft.Quantum.QsCompiler.SyntaxTree.QsComments -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsDeclarationAttribute
Public Shared Function New (typeId As QsNullable(Of UserDefinedType), typeIdRange As QsNullable(Of Range), argument As TypedExpression, offset As Position, comments As QsComments) As QsDeclarationAttribute

Parameters

typeIdRange
QsNullable<Range>
argument
TypedExpression
offset
Position
comments
QsComments

Returns

QsDeclarationAttribute

Applies to