Show / Hide Table of Contents

Class LiteralToken

Token which represents Literals.
Inheritance
System.Object
BaseToken
LiteralToken
Implements
IToken
Inherited Members
BaseToken._tokentype
BaseToken._startline
BaseToken._endline
BaseToken._startpos
BaseToken._endpos
BaseToken._value
BaseToken.TokenType
BaseToken.Value
BaseToken.StartLine
BaseToken.EndLine
BaseToken.StartPosition
BaseToken.EndPosition
BaseToken.Length
BaseToken.ToString()
BaseToken.GetHashCode()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRDF.dll
Syntax
public class LiteralToken : BaseToken, IToken

Constructors

| Improve this Doc View Source

LiteralToken(String, Int32, Int32, Int32)

Creates a new Literal Token.
Declaration
public LiteralToken(string value, int line, int start, int end)
Parameters
Type Name Description
System.String value Literal Value including the Quote deliminators.
System.Int32 line Line the Literal occurs on.
System.Int32 start Column the Literal starts at.
System.Int32 end Column the Literal ends at.
| Improve this Doc View Source

LiteralToken(String, Int32, Int32, Int32, Int32)

Creates a new Literal Token.
Declaration
public LiteralToken(string value, int startLine, int endLine, int start, int end)
Parameters
Type Name Description
System.String value Literal Value including the Quote deliminators.
System.Int32 startLine Line the Literal starts on.
System.Int32 endLine Line the Literal ends on.
System.Int32 start Column the Literal starts at.
System.Int32 end Column the Literal ends at.
Remarks
Most syntaxes use different deliminators for multiline literals and will usually use a LongLiteralToken instead but some formats like CSV only use quotes for multiline literals and use no delimitors for single line literals.

Implements

IToken

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LiteralToken(String, Int32, Int32, Int32)
    • LiteralToken(String, Int32, Int32, Int32, Int32)
  • Implements
  • Extension Methods
Back to top Generated by DocFX