Search Results for

    Show / Hide Table of Contents

    Class Tokenizer

    Tokenizer, which split the code into single tokens

    Inheritance
    System.Object
    Tokenizer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: SqlDotNet.Compiler
    Assembly: SqlDotNet.dll
    Syntax
    public class Tokenizer

    Constructors

    | Improve this Doc View Source

    Tokenizer(ILexerConstants)

    Create

    Declaration
    public Tokenizer(ILexerConstants lexerConstants)
    Parameters
    Type Name Description
    ILexerConstants lexerConstants

    Lexer constants / config

    | Improve this Doc View Source

    Tokenizer(ILexerConstants, IErrorListener)

    Create

    Declaration
    public Tokenizer(ILexerConstants lexerConstants, IErrorListener errorListener)
    Parameters
    Type Name Description
    ILexerConstants lexerConstants

    Lexer constants / config

    IErrorListener errorListener

    error listener for error capturing

    Properties

    | Improve this Doc View Source

    Tokens

    Tokens from the current tokenizer

    Declaration
    public Dequeue<RawToken> Tokens { get; set; }
    Property Value
    Type Description
    Dequeue<RawToken>

    Methods

    | Improve this Doc View Source

    ParseAsync(String)

    Parse script into tokens

    Declaration
    public void ParseAsync(string code)
    Parameters
    Type Name Description
    System.String code
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx