Show / Hide Table of Contents

Class PunctuationSyntax

Represents the punctuation sign token in CIL assembler

Inheritance
System.Object
SyntaxNode
PunctuationSyntax
Inherited Members
SyntaxNode._lead
SyntaxNode._trail
SyntaxNode._parent
SyntaxNode.EmptyArray
SyntaxNode.ToString()
SyntaxNode.GetChildNodes()
SyntaxNode.GetTypeDefSyntax(Type)
SyntaxNode.GetTypeDefSyntax(Type, Boolean, DisassemblerParams)
SyntaxNode.GetAdditionalInfo(String)
SyntaxNode.SetAdditionalInfo(String, Object)
SyntaxNode.LeadingWhitespace
SyntaxNode.TrailingWhitespace
SyntaxNode.Parent
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CilTools.Syntax
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public class PunctuationSyntax : SyntaxNode
Remarks

Punctuation signs divide other tokens in syntax constructs. Punctuation signs used in CIL are colons, braces, angle braces and others.

Properties

Content

Gets the value of this punctuation sign as string

Declaration
public string Content { get; }
Property Value
Type Description
System.String

Methods

EnumerateChildNodes()

Enumerates child nodes of this node. For the leaf node, returns an empty collection.

Declaration
public override IEnumerable<SyntaxNode> EnumerateChildNodes()
Returns
Type Description
System.Collections.Generic.IEnumerable<SyntaxNode>

The collection of child syntax nodes

Overrides
SyntaxNode.EnumerateChildNodes()

ToText(TextWriter)

Writes text representation of this node into the specified TextWriter

Declaration
public override void ToText(TextWriter target)
Parameters
Type Name Description
System.IO.TextWriter target
Overrides
SyntaxNode.ToText(TextWriter)
In This Article
  • Properties
    • Content
  • Methods
    • EnumerateChildNodes()
    • ToText(TextWriter)
Back to top CIL Tools (published from sources in GitHub repository).
Generated by DocFX