Class MsAlterBatch
java.lang.Object
org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract<MsDatabase>
org.pgcodekeeper.core.database.ms.parser.statement.MsParserAbstract
org.pgcodekeeper.core.database.ms.parser.statement.MsBatchContextProcessor
org.pgcodekeeper.core.database.ms.parser.statement.MsAlterBatch
Parser for Microsoft SQL ALTER statements in batch context.
Handles ALTER PROCEDURE, ALTER FUNCTION, ALTER VIEW, and ALTER TRIGGER statements
within batch processing context with proper location tracking.
-
Constructor Summary
ConstructorsConstructorDescriptionMsAlterBatch(TSQLParser.Batch_statement_bodyContext ctx, MsDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, ISettings settings) Creates a parser for Microsoft SQL ALTER statements in batch context. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.database.base.parser.statement.ParserAbstract
getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
MsAlterBatch
public MsAlterBatch(TSQLParser.Batch_statement_bodyContext ctx, MsDatabase db, org.antlr.v4.runtime.CommonTokenStream stream, ISettings settings) Creates a parser for Microsoft SQL ALTER statements in batch context.- Parameters:
ctx- the batch statement body context containing the ALTER statementdb- the Microsoft SQL database schema being processedstream- the token stream for source code processingsettings- parsing configuration settings
-
-
Method Details
-
parseObject
public void parseObject()Description copied from class:ParserAbstractParses a database object from the current context. Must be implemented by concrete subclasses to handle specific object types.- Specified by:
parseObjectin classParserAbstract<MsDatabase>
-