Search Results for

    Show / Hide Table of Contents

    Class ParserConfiguration

    Contains all parser, tokenizer configurations

    Inheritance
    System.Object
    ParserConfiguration
    Implements
    ILexerConstants
    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 ParserConfiguration : ILexerConstants

    Fields

    | Improve this Doc View Source

    FunctionBeginParameterChars

    List of chars, with wich a function could start

    Declaration
    public static readonly char[] FunctionBeginParameterChars
    Field Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    FunctionParameterChars

    Chars which are allowed in function or parameter names

    Declaration
    public static readonly char[] FunctionParameterChars
    Field Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    NotBeginParameterChars

    Chars, which are part of FunctionParameterChars but not allowed at the beginning of a function or parameter

    Declaration
    public static readonly char[] NotBeginParameterChars
    Field Value
    Type Description
    System.Char[]

    Properties

    | Improve this Doc View Source

    ComplexToken

    Complex tokens are tokens which has a specific start and end token, like a string: "Hello World"

    Declaration
    public char[] ComplexToken { get; }
    Property Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    ComplexTokenEscapeChar

    Escape-Charachter in complex tokens

    Declaration
    public char[] ComplexTokenEscapeChar { get; }
    Property Value
    Type Description
    System.Char[]
    | Improve this Doc View Source

    EndMultilineComment

    String ending a multiline comment

    Declaration
    public string EndMultilineComment { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    FollowingTokens

    Following tokens, like >= out of > and =

    Declaration
    public string[] FollowingTokens { get; }
    Property Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    SingleLineComment

    String starting a single line comment

    Declaration
    public string SingleLineComment { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    StartMultilineComment

    String starting a multiline comment

    Declaration
    public string StartMultilineComment { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TokenSeperator

    Seperator tokens

    Declaration
    public char[] TokenSeperator { get; }
    Property Value
    Type Description
    System.Char[]

    Methods

    | Improve this Doc View Source

    GetConstDataType(RawToken)

    Get the datatype of value

    Declaration
    public DataType GetConstDataType(RawToken token)
    Parameters
    Type Name Description
    RawToken token
    Returns
    Type Description
    DataType

    Data type

    | Improve this Doc View Source

    IsBoolean(String)

    Declaration
    public bool IsBoolean(string input)
    Parameters
    Type Name Description
    System.String input
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsDouble(String)

    Proof wether the input string is a double or not

    Declaration
    public bool IsDouble(string input)
    Parameters
    Type Name Description
    System.String input

    String to proof

    Returns
    Type Description
    System.Boolean

    True if it is a double

    | Improve this Doc View Source

    IsFloat(String)

    Proof wether the input string is a float or not

    Declaration
    public bool IsFloat(string input)
    Parameters
    Type Name Description
    System.String input

    String to proof

    Returns
    Type Description
    System.Boolean

    True if it is a float

    | Improve this Doc View Source

    IsInt32(String)

    Proof wether the input string is a Int32

    Declaration
    public bool IsInt32(string input)
    Parameters
    Type Name Description
    System.String input

    Input string

    Returns
    Type Description
    System.Boolean

    True if only countains digits

    | Improve this Doc View Source

    IsInt64(String)

    Proof wether the input string is a Int64

    Declaration
    public bool IsInt64(string input)
    Parameters
    Type Name Description
    System.String input

    Input string

    Returns
    Type Description
    System.Boolean

    True if only countains digits

    | Improve this Doc View Source

    IsString(String)

    Proof wether the input is a string

    Declaration
    public bool IsString(string input)
    Parameters
    Type Name Description
    System.String input

    Input string to proof

    Returns
    Type Description
    System.Boolean

    True if it is a string

    | Improve this Doc View Source

    IsValidLanguageIndependentIdentifier(String)

    Proof, wether the input value is a valid class, function or variable name

    Declaration
    public bool IsValidLanguageIndependentIdentifier(string value)
    Parameters
    Type Name Description
    System.String value

    String to proof

    Returns
    Type Description
    System.Boolean

    True if is valid

    Implements

    ILexerConstants
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx