Show / Hide Table of Contents

Class SingleDoubleQuoteStringLiteralToken

A string literal token that can use either single quote or double quote as the string boundary. The Boundary property is set to double quote by default. It will be changed to the correct boundary when the expression is parsed.

Inheritance
System.Object
StringLiteralToken
SingleDoubleQuoteStringLiteralToken
Implements
IOperandToken
IStringLiteralToken
IToken
Inherited Members
StringLiteralToken.EscapeChar
StringLiteralToken.Name
StringLiteralToken.Group
StringLiteralToken.ToString()
StringLiteralToken.EvalText(String)
StringLiteralToken.EvalValue(Func<String, Object>)
Namespace: Albatross.Expression.Tokens
Assembly: Albatross.Expression.dll
Syntax
public class SingleDoubleQuoteStringLiteralToken : StringLiteralToken, IOperandToken, IStringLiteralToken, IToken

Properties

Boundary

Declaration
public override char Boundary { get; }
Property Value
Type Description
System.Char
Overrides
StringLiteralToken.Boundary

Methods

Clone()

Declaration
public override IToken Clone()
Returns
Type Description
IToken
Overrides
StringLiteralToken.Clone()

Match(String, Int32, out Int32)

Declaration
public override bool Match(string expression, int start, out int next)
Parameters
Type Name Description
System.String expression
System.Int32 start
System.Int32 next
Returns
Type Description
System.Boolean
Overrides
StringLiteralToken.Match(String, Int32, out Int32)

Implements

IOperandToken
IStringLiteralToken
IToken

Extension Methods

Extensions.ConvertToBoolean(Object)
Extensions.IsVariable(IToken)
Back to top Generated by DocFX