TSqlParser Class

Definition

The abstract base class for TSql Parsers.

[System.Serializable]
public abstract class TSqlParser
[<System.Serializable>]
type TSqlParser = class
Public MustInherit Class TSqlParser
Inheritance
TSqlParser
Derived
Attributes

Properties

QuotedIdentifier

Indicates whether quoted identifier is enabled for the parser.

Methods

Create(SqlVersion, Boolean)

Creates a TSqlParser for the specified version.

GetTokenStream(TextReader, IList<ParseError>)

Parses the input into a Token Stream.

GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses the input into a Token Stream.

Parse(IList<TSqlParserToken>, IList<ParseError>)

Parses the specified tokens into a TSqlFragment.

Parse(TextReader, IList<ParseError>)

The blocking parse method.

Parse(TextReader, IList<ParseError>, Int32, Int32, Int32)

The blocking parse method.

ParseBooleanExpression(TextReader, IList<ParseError>)

Parses an input string to get a boolean expression. This will return null, if there were any errors.

ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a boolean expression. This will return null, if there were any errors.

ParseChildObjectName(TextReader, IList<ParseError>)

Parses an input string to get a ChildObjectName. This will return null, if there were any errors.

ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a ChildObjectName. This will return null, if there were any errors.

ParseConstantOrIdentifier(TextReader, IList<ParseError>)

Parses an input string to get a constant or identifier. This will return null, if there were any errors.

ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a constant or identifier. This will return null, if there were any errors.

ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>)

Parses an input string to get a constant or identifier or default literal(literal with value "DEFAULT"). This will return null, if there were any errors.

ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a constant or identifier or default literal(literal with value "DEFAULT"). This will return null, if there were any errors.

ParseExpression(TextReader, IList<ParseError>)

Parses an input string to get a scalar expression. This will return null, if there were any errors.

ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a scalar expression. This will return null, if there were any errors.

ParseScalarDataType(TextReader, IList<ParseError>)

Parses an input string to get a data type. This will return null, if there were any errors.

ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a data type. This will return null, if there were any errors.

ParseSchemaObjectName(TextReader, IList<ParseError>)

Parses an input string to get a SchemaObjectName. This will return null, if there were any errors.

ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a SchemaObjectName. This will return null, if there were any errors.

ParseStatementList(TextReader, IList<ParseError>)

Parses an input string to get a statement list. This will return null, if there were any errors.

ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a statement list. This will return null, if there were any errors.

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>, Int32, Int32, Int32)

Parses an input string to get a subquery expression with optional common table expression and xml namespaces. This will return null, if there were any errors.

TryParseSqlModuleObjectName(TextReader, SchemaObjectName)

Parses the input script to return the SchemaObjectName of the first create/alter sql_module statement, if found.

TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName)

Parses the input script to return the trigger name and trigger target name of the first create/alter trigger statement.

ValidateIdentifier(String)

Check if a name is a valid sql identifier

Applies to