TSql100Parser.ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) TSql100Parser.ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) TSql100Parser.ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>, Int32, Int32, Int32) Method

Definition

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

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.

public:
 override Microsoft::SqlServer::TransactSql::ScriptDom::TSqlFragment ^ ParseConstantOrIdentifierWithDefault(System::IO::TextReader ^ input, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::SqlServer::TransactSql::ScriptDom::ParseError ^> ^ % errors, int startOffset, int startLine, int startColumn);
public override Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment ParseConstantOrIdentifierWithDefault (System.IO.TextReader input, out System.Collections.Generic.IList<Microsoft.SqlServer.TransactSql.ScriptDom.ParseError> errors, int startOffset, int startLine, int startColumn);
Public Overrides Function ParseConstantOrIdentifierWithDefault (input As TextReader, ByRef errors As IList(Of ParseError), startOffset As Integer, startLine As Integer, startColumn As Integer) As TSqlFragment
Parameters
input
TextReader TextReader TextReader

The script that will be parsed.

errors
IList<ParseError>

When this method returns, contains the list of error that occurred during parsing.

startOffset
Int32 Int32 Int32

The starting offset.

startLine
Int32 Int32 Int32

The starting line.

startColumn
Int32 Int32 Int32

The starting column.

Returns

The constant or identifier with default.

Applies to