TSql100Parser TSql100Parser TSql100Parser Class

Definition

Represents the TSql100 parser.

public ref class TSql100Parser : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlParser
public class TSql100Parser : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
Public Class TSql100Parser
Inherits TSqlParser
Inheritance
TSql100ParserTSql100ParserTSql100Parser

Constructors

TSql100Parser(Boolean) TSql100Parser(Boolean) TSql100Parser(Boolean)

Initializes a new instance of the TSql100Parser class.

Methods

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

Creates a Transact-SQL parser for the specified version.

(Inherited from TSqlParser)
GetTokenStream(TextReader, IList<ParseError>) GetTokenStream(TextReader, IList<ParseError>) GetTokenStream(TextReader, IList<ParseError>)

Returns a list of parser tokens and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32)

Returns a list of parser tokens and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>) Parse(IList<TSqlParserToken>, IList<ParseError>)

Returns a script fragment by using the provided tokens and errors.

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

Returns a script fragment and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) Parse(TextReader, IList<ParseError>, Int32, Int32, Int32) Parse(TextReader, IList<ParseError>, Int32, Int32, Int32)

Returns a script fragment and a list of errors by using the provided values.

(Inherited from TSqlParser)
ParseBooleanExpression(TextReader, IList<ParseError>) ParseBooleanExpression(TextReader, IList<ParseError>) ParseBooleanExpression(TextReader, IList<ParseError>)

Returns a Boolean expression and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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>)

Returns a child object name and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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>)

Returns a constant or identifier and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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>) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>) ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>)

Returns a constant or identifier with default values and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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.

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

Returns an expression and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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 an expression. This will return null, if there were any errors.

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

Returns a scalar data type and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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>)

Returns a schema object name and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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>)

Returns a statement list and a list of errors by using the provided text reader.

(Inherited from TSqlParser)
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 with the specified input reader.

(Inherited from TSqlParser)
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)

Indicates whether the input script contains a SQL module object name.

(Inherited from TSqlParser)
TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName) TryParseTriggerModule(TextReader, SchemaObjectName, SchemaObjectName)

Indicates whether the input script contains a trigger module.

(Inherited from TSqlParser)
ValidateIdentifier(String) ValidateIdentifier(String) ValidateIdentifier(String)

Returns whether a name is a valid SQL identifier.

(Inherited from TSqlParser)

Properties

QuotedIdentifier QuotedIdentifier QuotedIdentifier

Gets a value that indicates whether the quoted identifier is on.

(Inherited from TSqlParser)

Applies to