TSql120Parser Class

Definition

The TSql Parser for 12.0.

[System.Serializable]
public class TSql120Parser : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
[<System.Serializable>]
type TSql120Parser = class
    inherit TSqlParser
Public Class TSql120Parser
Inherits TSqlParser
Inheritance
TSql120Parser
Attributes

Constructors

TSql120Parser(Boolean)

Initializes a new instance of the TSql120Parser class.

Properties

QuotedIdentifier

Indicates whether quoted identifier is enabled for the parser.

(Inherited from TSqlParser)

Methods

Create(SqlVersion, Boolean)

Creates a TSqlParser for the specified version.

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

Parses the input into a Token Stream.

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

Parses the input into a Token Stream.

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

The blocking parse method.

Parse(TextReader, IList<ParseError>)

The blocking parse method.

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

The blocking parse method.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(Inherited from TSqlParser)
ValidateIdentifier(String)

Check if a name is a valid sql identifier

(Inherited from TSqlParser)

Applies to