Class LiteralToken
Token which represents Literals.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRdf.dll
Syntax
public class LiteralToken : BaseToken, IToken
Constructors
| Improve this Doc View SourceLiteralToken(string, int, int, int, int)
Creates a new Literal Token.
Declaration
public LiteralToken(string value, int startLine, int endLine, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
string | value | Literal Value including the Quote deliminators. |
int | startLine | Line the Literal starts on. |
int | endLine | Line the Literal ends on. |
int | start | Column the Literal starts at. |
int | 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.
LiteralToken(string, int, int, int)
Creates a new Literal Token.
Declaration
public LiteralToken(string value, int line, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
string | value | Literal Value including the Quote deliminators. |
int | line | Line the Literal occurs on. |
int | start | Column the Literal starts at. |
int | end | Column the Literal ends at. |