NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Config.Table.QuotedIdentToken Class Reference
Inheritance diagram for Ntp.Analyzer.Config.Table.QuotedIdentToken:
Collaboration diagram for Ntp.Analyzer.Config.Table.QuotedIdentToken:

Public Member Functions

 QuotedIdentToken (string ident)
override bool Equals (object obj)
override int GetHashCode ()

Public Attributes

override Symbol Symbol => Symbol.Undefined
override string Text => ident
override TokenType TokenType => TokenType.QuotedIdent
- Public Attributes inherited from Ntp.Analyzer.Config.Table.Token
bool IsText

Private Attributes

readonly string ident

Additional Inherited Members

- Static Public Attributes inherited from Ntp.Analyzer.Config.Table.Token
static Token EndOfFile = new SymbolToken(Symbol.EndOfFile)
static Token NewLine = new SymbolToken(Symbol.NewLine, Environment.NewLine)
static Token Undefined = new SymbolToken(Symbol.Undefined)
static Token Whitespace = new SymbolToken(Symbol.WhiteSpace, " ")
- Properties inherited from Ntp.Analyzer.Config.Table.Token
abstract Symbol Symbol [get]
abstract string Text [get]
abstract TokenType TokenType [get]

Detailed Description

Definition at line 24 of file QuotedIdentToken.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Config.Table.QuotedIdentToken.QuotedIdentToken ( string  ident)

Definition at line 26 of file QuotedIdentToken.cs.

27  {
28  this.ident = ident;
29  }

Member Function Documentation

override bool Ntp.Analyzer.Config.Table.QuotedIdentToken.Equals ( object  obj)

Definition at line 39 of file QuotedIdentToken.cs.

References Ntp.Analyzer.Config.Table.QuotedIdentToken.ident.

40  {
41  var other = obj as QuotedIdentToken;
42  if (other == null)
43  return false;
45  return other.ident == ident;
46  }
override int Ntp.Analyzer.Config.Table.QuotedIdentToken.GetHashCode ( )

Definition at line 48 of file QuotedIdentToken.cs.

49  {
50  return ident.GetHashCode();
51  }

Member Data Documentation

readonly string Ntp.Analyzer.Config.Table.QuotedIdentToken.ident
override Symbol Ntp.Analyzer.Config.Table.QuotedIdentToken.Symbol => Symbol.Undefined

Definition at line 35 of file QuotedIdentToken.cs.

override string Ntp.Analyzer.Config.Table.QuotedIdentToken.Text => ident

Definition at line 37 of file QuotedIdentToken.cs.

override TokenType Ntp.Analyzer.Config.Table.QuotedIdentToken.TokenType => TokenType.QuotedIdent

Definition at line 33 of file QuotedIdentToken.cs.

The documentation for this class was generated from the following file: