Table of Contents

Class FieldSwitch

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

One switch of a field instruction — a backslash followed by a character, optionally carrying an argument (ECMA-376 Part 1 §17.16.4).

public sealed class FieldSwitch
Inheritance
FieldSwitch
Inherited Members

Constructors

FieldSwitch(string, string?, bool)

Initializes a switch.

Properties

Argument

Gets the switch argument, or null when the switch takes none.

ArgumentWasQuoted

Gets whether the argument was written quoted.

Name

Gets the switch including its leading backslash. Never null.

Methods

ToString()