QsDeclarationAttribute.New 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.
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
- typeId
- QsNullable<UserDefinedType>
- typeIdRange
- QsNullable<Range>
- argument
- TypedExpression
- offset
- Position
- comments
- QsComments