ExpressionQuoteState

Implements an Expression-specific quote string state object.

Inherits: IQuoteState

Description

The ExpressionQuoteState class implements an Expression-specific quote string state object.

Instance methods

decodeString

Decodes a string value.

public string DecodeString(string value, char quoteSymbol)

  • value: string - string value to be decoded.
  • quoteSymbol: char - string quote character.
  • returns: string - decoded string.

EncodeString

Encodes a string value.

public string EncodeString(string value, char quoteSymbol)

  • value: string - string value to be encoded.
  • quoteSymbol: char - string quote character.
  • returns: string - encoded string.

NextToken

Gets the next token from the stream started from the character linked to this state.

public override Token NextToken(IScanner scanner, ITokenizer tokenizer)

  • scanner: IScanner - textual string to be tokenized.
  • tokenizer: ITokenizer - tokenizer class that controls the process.
  • returns: Token - next token from the top of the stream.