Show / Hide Table of Contents

Class AttributeSyntax

Inheritance
System.Object
SyntaxNode
AttributeSyntax
Implements
INameValueSyntax
Inherited Members
SyntaxNode.IsParsed
SyntaxNode.ToString()
SyntaxNode.Write(TextWriter)
Namespace: DotLang.CodeAnalysis.Syntax
Assembly: DotLang.dll
Syntax
public sealed class AttributeSyntax : SyntaxNode, INameValueSyntax

Constructors

| Improve this Doc View Source

AttributeSyntax(String, String)

Declaration
public AttributeSyntax(string name, string value)
Parameters
Type Name Description
System.String name
System.String value
| Improve this Doc View Source

AttributeSyntax((String Name, String Value))

Declaration
public AttributeSyntax((string Name, string Value) attribute)
Parameters
Type Name Description
System.ValueTuple<System.String, System.String> attribute

Properties

| Improve this Doc View Source

EqualsToken

Declaration
public SyntaxToken EqualsToken { get; }
Property Value
Type Description
SyntaxToken
| Improve this Doc View Source

NameToken

Declaration
public SyntaxToken NameToken { get; }
Property Value
Type Description
SyntaxToken
| Improve this Doc View Source

SeparatorToken

Declaration
public SyntaxToken SeparatorToken { get; }
Property Value
Type Description
SyntaxToken
| Improve this Doc View Source

ValueToken

Declaration
public SyntaxToken ValueToken { get; }
Property Value
Type Description
SyntaxToken

Methods

| Improve this Doc View Source

Accept(SyntaxVisitor)

Declaration
public override void Accept(SyntaxVisitor visitor)
Parameters
Type Name Description
SyntaxVisitor visitor
Overrides
SyntaxNode.Accept(SyntaxVisitor)

Operators

| Improve this Doc View Source

Implicit((String Name, String Value) to AttributeSyntax)

Declaration
public static implicit operator AttributeSyntax((string Name, string Value) attribute)
Parameters
Type Name Description
System.ValueTuple<System.String, System.String> attribute
Returns
Type Description
AttributeSyntax

Implements

INameValueSyntax
  • Improve this Doc
  • View Source
Back to top Generated by DocFX