Share via


TSql100Parser Class

Represents the TSql100 parser.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql100Parser

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class TSql100Parser _
    Inherits TSqlParser
'Usage
Dim instance As TSql100Parser
[SerializableAttribute]
public class TSql100Parser : TSqlParser
[SerializableAttribute]
public ref class TSql100Parser : public TSqlParser
[<SerializableAttribute>]
type TSql100Parser =  
    class 
        inherit TSqlParser 
    end
public class TSql100Parser extends TSqlParser

The TSql100Parser type exposes the following members.

Constructors

  Name Description
Public method TSql100Parser Initializes a new instance of the TSql100Parser class.

Top

Properties

  Name Description
Public property QuotedIdentifier Gets a value that indicates whether the quoted identifier is on. (Inherited from TSqlParser.)

Top

Methods

  Name Description
Public method Create Creates a Transact-SQL parser for the specified version. (Inherited from TSqlParser.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetTokenStream(TextReader, IList<ParseError>%) Returns a list of parser tokens and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method 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.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method Parse(IList<TSqlParserToken>, IList<ParseError>%) Returns a script fragment by using the provided tokens and errors. (Overrides TSqlParser.Parse(IList<TSqlParserToken>, IList<ParseError>%).)
Public method Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values. (Inherited from TSqlParser.)
Public method ParseBooleanExpression(TextReader, IList<ParseError>%) Returns a Boolean expression and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method 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. (Overrides TSqlParser.ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseChildObjectName(TextReader, IList<ParseError>%) Returns a child object name and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get a ChildObjectName. This will return null, if there were any errors. (Overrides TSqlParser.ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseConstantOrIdentifier(TextReader, IList<ParseError>%) Returns a constant or identifier and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method 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. (Overrides TSqlParser.ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method 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.)
Public method 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. (Overrides TSqlParser.ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseExpression(TextReader, IList<ParseError>%) Returns an expression and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get an expression. This will return null, if there were any errors. (Overrides TSqlParser.ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseScalarDataType(TextReader, IList<ParseError>%) Returns a scalar data type and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method 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. (Overrides TSqlParser.ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseSchemaObjectName(TextReader, IList<ParseError>%) Returns a schema object name and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get a SchemaObjectName. This will return null, if there were any errors. (Overrides TSqlParser.ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ParseStatementList(TextReader, IList<ParseError>%) Returns a statement list and a list of errors by using the provided text reader. (Inherited from TSqlParser.)
Public method 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. (Overrides TSqlParser.ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method 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.)
Public method 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. (Overrides TSqlParser.ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%, Int32, Int32, Int32).)
Public method ToString (Inherited from Object.)
Public method TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name. (Inherited from TSqlParser.)
Public method TryParseTriggerModule Indicates whether the input script contains a trigger module. (Inherited from TSqlParser.)
Public method ValidateIdentifier Returns whether a name is a valid SQL identifier. (Inherited from TSqlParser.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.TransactSql.ScriptDom Namespace