TSqlParser TSqlParser TSqlParser Class

Definition

The abstract base class for TSql Parsers.

[Serializable]
public abstract class TSqlParser
type TSqlParser = class
Public MustInherit Class TSqlParser
Inheritance
TSqlParserTSqlParserTSqlParser
Derived
Attributes
SerializableAttribute

Properties

QuotedIdentifier QuotedIdentifier QuotedIdentifier

Indicates whether quoted identifier is enabled for the parser.

Methods

Create(SqlVersion, Boolean) Create(SqlVersion, Boolean) Create(SqlVersion, Boolean)

Creates a TSqlParser for the specified version.

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

Parses the input into a Token Stream.

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

Parses the input into a Token Stream.

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

Parses the specified tokens into a TSqlFragment.

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

The blocking parse method.

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

The blocking parse method.

ParseBooleanExpression(TextReader, IList<ParseError>) ParseBooleanExpression(TextReader, IList<ParseError>) 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) ParseBooleanExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseChildObjectName(TextReader, IList<ParseError>) 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) ParseChildObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseConstantOrIdentifier(TextReader, IList<ParseError>) 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) ParseConstantOrIdentifier(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>, Int32, Int32, Int32) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) 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.

ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>) 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.

ParseExpression(TextReader, IList<ParseError>) ParseExpression(TextReader, IList<ParseError>) 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) ParseExpression(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseScalarDataType(TextReader, IList<ParseError>) 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) ParseScalarDataType(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseSchemaObjectName(TextReader, IList<ParseError>) 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) ParseSchemaObjectName(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseStatementList(TextReader, IList<ParseError>) 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) ParseStatementList(TextReader, IList<ParseError>, Int32, Int32, Int32) 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>) ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>) 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) ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>, Int32, Int32, Int32) 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) TryParseSqlModuleObjectName(TextReader, SchemaObjectName) 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) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) 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) ValidateIdentifier(String) ValidateIdentifier(String)

Check if a name is a valid sql identifier

Applies to