![]() | ParameterSyntax Class |
Namespace: Microsoft.CodeAnalysis.VisualBasic.Syntax
The ParameterSyntax type exposes the following members.
Name | Description | |
---|---|---|
![]() | AsClause |
If present, the "As type-name" clause describing the type of the parameter. If
no As clause is present, Nothing is returned.
|
![]() | AttributeLists |
A list of all attribute lists on this parameter. If no attributes were
specified, Nothing is returned.
|
![]() | ContainsAnnotations |
Determines whether this node or any sub node, token or trivia has annotations.
(Inherited from SyntaxNode.) |
![]() | ContainsDiagnostics |
Determines whether this node or any of its descendant nodes, tokens or trivia have any diagnostics on them.
(Inherited from SyntaxNode.) |
![]() | ContainsDirectives |
Determines whether this node has any descendant preprocessor directives.
(Inherited from SyntaxNode.) |
![]() | ContainsSkippedText |
Determines whether this node has any descendant skipped text.
(Inherited from SyntaxNode.) |
![]() | Default |
If present, an initializer with the default value of the parameter. If no
default value is present, Nothing is returned.
|
![]() | FullSpan |
The absolute span of this node in characters, including its leading and trailing trivia.
(Inherited from SyntaxNode.) |
![]() | HasLeadingTrivia |
Determines whether this node has any leading trivia.
(Inherited from SyntaxNode.) |
![]() | HasStructuredTrivia |
Determines whether a descendant trivia of this node is structured.
(Inherited from SyntaxNode.) |
![]() | HasTrailingTrivia |
Determines whether this node has any trailing trivia.
(Inherited from SyntaxNode.) |
![]() | Identifier |
The name of the parameter, including any "?" or "()" modifiers.
|
![]() | IsDirective |
Returns True if this node represents a directive.
(Inherited from VisualBasicSyntaxNode.) |
![]() | IsMissing |
Determines whether the node represents a language construct that was actually parsed
from the source code. Missing nodes are generated by the parser in error scenarios to
represent constructs that should have been present in the source code in order to
compile successfully but were actually missing.
(Inherited from SyntaxNode.) |
![]() | IsStructuredTrivia |
Determines whether this node represents a structured trivia.
(Inherited from SyntaxNode.) |
![]() | Language |
The language name this node is syntax of.
(Inherited from VisualBasicSyntaxNode.) |
![]() | Modifiers |
A list of the modifier tokens "ByVal", "ByRef", "Optional" or "ParamArray" that
modify this parameter.
|
![]() | Parent |
The node that contains this node in its ChildNodes collection.
(Inherited from SyntaxNode.) |
![]() | ParentTrivia | (Inherited from SyntaxNode.) |
![]() | RawKind |
An integer representing the language specific kind of this node.
(Inherited from SyntaxNode.) |
![]() | Span |
The absolute span of this node in characters, not including its leading and trailing trivia.
(Inherited from SyntaxNode.) |
![]() | SpanStart | (Inherited from VisualBasicSyntaxNode.) |
![]() | SyntaxTree |
Returns SyntaxTree that owns the node or null if node does not belong to a
SyntaxTree
(Inherited from SyntaxNode.) |
Name | Description | |
---|---|---|
![]() | Accept(VisualBasicSyntaxVisitor) | (Overrides VisualBasicSyntaxNodeAccept(VisualBasicSyntaxVisitor).) |
![]() | AcceptTResult(VisualBasicSyntaxVisitorTResult) | (Inherited from VisualBasicSyntaxNode.) |
![]() | AcceptTResult(VisualBasicSyntaxVisitorTResult) | (Overrides VisualBasicSyntaxNodeAcceptTResult(VisualBasicSyntaxVisitorTResult).) |
![]() | AddAttributeLists | |
![]() | AddModifiers | |
![]() | Ancestors | (Inherited from SyntaxNode.) |
![]() | AncestorsAndSelf | (Inherited from SyntaxNode.) |
![]() | ChildNodes |
Gets a list of the child nodes in prefix document order.
(Inherited from SyntaxNode.) |
![]() | ChildNodesAndTokens |
The list of child nodes and tokens of this node, where each element is a SyntaxNodeOrToken instance.
(Inherited from SyntaxNode.) |
![]() | ChildThatContainsPosition | (Inherited from SyntaxNode.) |
![]() | ChildTokens |
Gets a list of the direct child tokens of this node.
(Inherited from SyntaxNode.) |
![]() | Contains |
Determines if the specified node is a descendant of this node.
(Inherited from SyntaxNode.) |
![]() | CopyAnnotationsToT |
Copies all SyntaxAnnotations, if any, from this SyntaxNode instance and attaches them to a new instance based on node.
(Inherited from SyntaxNode.) |
![]() | DescendantNodes(Void, SyntaxNode) | (Inherited from SyntaxNode.) |
![]() | DescendantNodes(Void, SyntaxNode, TextSpan) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndSelf(Void, SyntaxNode) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndSelf(Void, SyntaxNode, TextSpan) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndTokens(Void, SyntaxNodeOrToken) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndTokens(Void, SyntaxNodeOrToken, TextSpan) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndTokensAndSelf(Void, SyntaxNodeOrToken) | (Inherited from SyntaxNode.) |
![]() | DescendantNodesAndTokensAndSelf(Void, SyntaxNodeOrToken, TextSpan) | (Inherited from SyntaxNode.) |
![]() | DescendantTokens(Void, SyntaxToken) | (Inherited from SyntaxNode.) |
![]() | DescendantTokens(Void, SyntaxToken, TextSpan) | (Inherited from SyntaxNode.) |
![]() | DescendantTrivia(Void, SyntaxTrivia) | (Inherited from SyntaxNode.) |
![]() | DescendantTrivia(Void, SyntaxTrivia, TextSpan) | (Inherited from SyntaxNode.) |
![]() | FindNode |
Finds the node with the smallest FullSpan that contains span.
getInnermostNodeForTie is used to determine the behavior in case of a tie (i.e. a node having the same span as its parent).
If getInnermostNodeForTie is true, then it returns lowest descending node encompassing the given span.
Otherwise, it returns the outermost node encompassing the given span.
(Inherited from SyntaxNode.) |
![]() | FindToken |
Finds a token according to the following rules:
1) If position matches the End of the node's Span, then its last token is returned.
2) If node.FullSpan.Contains(position) then the token that contains given position is returned.
3) Otherwise an IndexOutOfRange is thrown
(Inherited from VisualBasicSyntaxNode.) |
![]() | FindTrivia(Int32, FuncT, TResult) | (Inherited from SyntaxNode.) |
![]() | FindTrivia(Int32, Boolean) | (Inherited from VisualBasicSyntaxNode.) |
![]() | FirstAncestorOrSelfTNode | (Inherited from SyntaxNode.) |
![]() | GetAnnotatedNodes(Void) | (Inherited from SyntaxNode.) |
![]() | GetAnnotatedNodesAndTokens(Void) | (Inherited from SyntaxNode.) |
![]() | GetAnnotatedTokens(Void) | (Inherited from SyntaxNode.) |
![]() | GetAnnotatedTrivia(Void) | (Inherited from SyntaxNode.) |
![]() | GetAnnotations(Void) | (Inherited from SyntaxNode.) |
![]() | GetDiagnostics |
Gets a list of all the diagnostics in the sub tree that has this node as its root.
This method does not filter diagnostics based on compiler options like nowarn, warnaserror etc.
(Inherited from VisualBasicSyntaxNode.) |
![]() | GetDirectives | (Inherited from VisualBasicSyntaxNode.) |
![]() | GetFirstDirective | (Inherited from VisualBasicSyntaxNode.) |
![]() | GetFirstToken | (Inherited from VisualBasicSyntaxNode.) |
![]() | GetLastDirective | (Inherited from VisualBasicSyntaxNode.) |
![]() | GetLastToken | (Inherited from VisualBasicSyntaxNode.) |
![]() | GetLeadingTrivia |
Get the preceding trivia nodes of this node. If this node is a token, returns the preceding trivia
associated with this node. If this is a non-terminal, returns the preceding trivia of the first token
of this node.
(Inherited from VisualBasicSyntaxNode.) |
![]() | GetLocation |
Gets the location of this node.
(Inherited from VisualBasicSyntaxNode.) |
![]() | GetReference |
Gets a SyntaxReference for this syntax node. CommonSyntaxReferences can be used to
regain access to a syntax node without keeping the entire tree and source text in
memory.
(Inherited from SyntaxNode.) |
![]() | GetText |
Gets the full text of this node as an new SourceText instance.
(Inherited from SyntaxNode.) |
![]() | GetTrailingTrivia |
Get the following trivia nodes of this node. If this node is a token, returns the following trivia
associated with this node. If this is a non-terminal, returns the following trivia of the last token
of this node.
(Inherited from VisualBasicSyntaxNode.) |
![]() | HasAnnotation |
Determines whether this node has the specific annotation.
(Inherited from SyntaxNode.) |
![]() | HasAnnotations(IEnumerableT) | (Inherited from SyntaxNode.) |
![]() | HasAnnotations(String) |
Determines whether this node has any annotations with the specific annotation kind.
(Inherited from SyntaxNode.) |
![]() | IsEquivalentTo(SyntaxNode) |
Determine whether this node is structurally equivalent to another.
(Inherited from SyntaxNode.) |
![]() | IsEquivalentTo(SyntaxNode, Boolean) |
Determines if two nodes are the same, disregarding trivia differences.
(Inherited from SyntaxNode.) |
![]() | IsPartOfStructuredTrivia |
Determines whether this node is a descendant of a structured trivia.
(Inherited from SyntaxNode.) |
![]() | Kind |
Returns the SyntaxKind of the node.
(Inherited from VisualBasicSyntaxNode.) |
![]() | SerializeTo | (Inherited from SyntaxNode.) |
![]() | ToFullString |
Returns full string representation of this node including its leading and trailing trivia.
(Inherited from SyntaxNode.) |
![]() | ToString |
Returns the string representation of this node, not including its leading and trailing trivia.
(Inherited from SyntaxNode.) |
![]() | Update |
Returns a copy of this with the specified changes. Returns this instance if
there are no actual changes.
|
![]() | WithAsClause |
Returns a copy of this with the AsClause property changed to the specified
value. Returns this instance if the specified value is the same as the current
value.
|
![]() | WithAttributeLists |
Returns a copy of this with the AttributeLists property changed to the
specified value. Returns this instance if the specified value is the same as
the current value.
|
![]() | WithDefault |
Returns a copy of this with the [Default] property changed to the specified
value. Returns this instance if the specified value is the same as the current
value.
|
![]() | WithIdentifier |
Returns a copy of this with the Identifier property changed to the specified
value. Returns this instance if the specified value is the same as the current
value.
|
![]() | WithModifiers |
Returns a copy of this with the Modifiers property changed to the specified
value. Returns this instance if the specified value is the same as the current
value.
|
![]() | WriteTo |
Writes the full text of this node to the specified TextWriter.
(Inherited from SyntaxNode.) |
Name | Description | |
---|---|---|
![]() | GetCurrentNodeTNode |
Gets the node within the subtree corresponding to the original tracked node.
Use TrackNodes to start tracking nodes.
(Defined by SyntaxNodeExtensions.) |
![]() | GetFirstDirective(FuncT, TResult) | Overloaded. (Defined by VisualBasicExtensions.) |
![]() | GetFirstDirective(FuncT, TResult) | Overloaded. (Defined by CSharpExtensions.) |
![]() | GetLastDirective(FuncT, TResult) | Overloaded. (Defined by VisualBasicExtensions.) |
![]() | GetLastDirective(FuncT, TResult) | Overloaded. (Defined by CSharpExtensions.) |
![]() | IsKind(SyntaxKind) | Overloaded.
Determines if SyntaxNode is a specified kind.
(Defined by VisualBasicExtensions.) |
![]() | IsKind(SyntaxKind) | Overloaded. (Defined by CSharpExtensions.) |
![]() | Kind | Overloaded. (Defined by VisualBasicExtensions.) |
![]() | Kind | Overloaded. (Defined by CSharpExtensions.) |