Show / Hide Table of Contents

Class TokenisingStoreParserContext

Class for Store Parser Contexts for Tokeniser based Parsing.

Inheritance
object
BaseStoreParserContext
TokenisingStoreParserContext
TriGParserContext
Implements
IParserContext
Inherited Members
BaseStoreParserContext._traceParsing
BaseStoreParserContext.TraceParsing
BaseStoreParserContext.Handler
BaseStoreParserContext.UriFactory
BaseStoreParserContext.Namespaces
BaseStoreParserContext.BaseUri
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class TokenisingStoreParserContext : BaseStoreParserContext, IParserContext

Constructors

| Edit this page View Source

TokenisingStoreParserContext(IRdfHandler, ITokeniser)

Creates a new Tokenising Store Parser Context with default settings.

Declaration
public TokenisingStoreParserContext(IRdfHandler handler, ITokeniser tokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

| Edit this page View Source

TokenisingStoreParserContext(IRdfHandler, ITokeniser, bool, bool)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(IRdfHandler handler, ITokeniser tokeniser, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

| Edit this page View Source

TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(IRdfHandler handler, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser, IUriFactory uriFactory)
Parameters
Type Name Description
IRdfHandler handler

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

IUriFactory uriFactory

URI Factory to use.

| Edit this page View Source

TokenisingStoreParserContext(ITripleStore, ITokeniser)

Creates a new Tokenising Store Parser Context with default settings.

Declaration
public TokenisingStoreParserContext(ITripleStore store, ITokeniser tokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

| Edit this page View Source

TokenisingStoreParserContext(ITripleStore, ITokeniser, bool, bool)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(ITripleStore store, ITokeniser tokeniser, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(ITripleStore store, ITokeniser tokeniser, TokenQueueMode queueMode)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

| Edit this page View Source

TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(ITripleStore store, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

| Edit this page View Source

TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)

Creates a new Tokenising Store Parser Context with custom settings.

Declaration
public TokenisingStoreParserContext(ITripleStore store, ITokeniser tokeniser, TokenQueueMode queueMode, bool traceParsing, bool traceTokeniser, IUriFactory uriFactory)
Parameters
Type Name Description
ITripleStore store

Store to parse into.

ITokeniser tokeniser

Tokeniser to use.

TokenQueueMode queueMode

Tokeniser Queue Mode.

bool traceParsing

Whether to trace parsing.

bool traceTokeniser

Whether to trace tokenisation.

IUriFactory uriFactory

The URI factory to use.

Fields

| Edit this page View Source

_localTokens

Local Tokens.

Declaration
protected Stack<IToken> _localTokens
Field Value
Type Description
Stack<IToken>
| Edit this page View Source

_queue

Tokeniser.

Declaration
protected ITokenQueue _queue
Field Value
Type Description
ITokenQueue
| Edit this page View Source

_traceTokeniser

Is Tokeniser traced?.

Declaration
protected bool _traceTokeniser
Field Value
Type Description
bool

Properties

| Edit this page View Source

LocalTokens

Gets the Local Tokens stack.

Declaration
public Stack<IToken> LocalTokens { get; }
Property Value
Type Description
Stack<IToken>
| Edit this page View Source

Tokens

Gets the Token Queue.

Declaration
public ITokenQueue Tokens { get; }
Property Value
Type Description
ITokenQueue
| Edit this page View Source

TraceTokeniser

Gets/Sets whether tokeniser tracing is used.

Declaration
public bool TraceTokeniser { get; set; }
Property Value
Type Description
bool

Implements

IParserContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • TokenisingStoreParserContext(IRdfHandler, ITokeniser)
    • TokenisingStoreParserContext(IRdfHandler, ITokeniser, bool, bool)
    • TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode)
    • TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool)
    • TokenisingStoreParserContext(IRdfHandler, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)
    • TokenisingStoreParserContext(ITripleStore, ITokeniser)
    • TokenisingStoreParserContext(ITripleStore, ITokeniser, bool, bool)
    • TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode)
    • TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool)
    • TokenisingStoreParserContext(ITripleStore, ITokeniser, TokenQueueMode, bool, bool, IUriFactory)
  • Fields
    • _localTokens
    • _queue
    • _traceTokeniser
  • Properties
    • LocalTokens
    • Tokens
    • TraceTokeniser
  • Implements
  • Extension Methods
Back to top Generated by DocFX