TSqlParser Class
Represents the Transact-SQL parser.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.ScriptDom.Parser
Microsoft.Data.Schema.ScriptDom.Sql.TSqlParser
Microsoft.Data.Schema.ScriptDom.Sql.TSql100Parser
Microsoft.Data.Schema.ScriptDom.Sql.TSql80Parser
Microsoft.Data.Schema.ScriptDom.Sql.TSql90Parser
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public MustInherit Class TSqlParser _
Inherits Parser
[SerializableAttribute]
public abstract class TSqlParser : Parser
[SerializableAttribute]
public ref class TSqlParser abstract : public Parser
[<AbstractClass>]
[<SerializableAttribute>]
type TSqlParser =
class
inherit Parser
end
public abstract class TSqlParser extends Parser
The TSqlParser type exposes the following members.
Properties
Top
Methods
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetTokenStream(TextReader, IList<ParseError>) |
Returns a list of parser tokens by using the provided text reader and list of parser errors. |
|
GetTokenStream(TextReader, IList<ParseError>, Int32, Int32, Int32) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Parse(TextReader, IList<ParseError>%) |
Returns a script fragment and a list of errors by using the provided text reader. (Overrides Parser.Parse(TextReader, IList<ParseError>%).) |
|
Parse(IList<TSqlParserToken>, IList<ParseError>) |
When overridden in a derived class, returns a script fragment by using the provided tokens and errors. |
|
Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseBooleanExpression(TextReader, IList<ParseError>%) |
|
|
ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseChildObjectName(TextReader, IList<ParseError>%) |
|
|
ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseConstantOrIdentifier(TextReader, IList<ParseError>%) |
|
|
ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) |
|
|
ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseExpression(TextReader, IList<ParseError>%) |
|
|
ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseScalarDataType(TextReader, IList<ParseError>%) |
|
|
ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseSchemaObjectName(TextReader, IList<ParseError>%) |
|
|
ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ParseStatementList(TextReader, IList<ParseError>%) |
|
|
ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) |
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
|
ValidateIdentifier |
Returns whether a name is a valid SQL identifier. |
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.Data.Schema.ScriptDom.Sql Namespace