Class DropMsStatement
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract<MsDatabase>
org.pgcodekeeper.core.parsers.antlr.ms.statement.MsParserAbstract
org.pgcodekeeper.core.parsers.antlr.ms.statement.DropMsStatement
Parser for Microsoft SQL DROP statements.
Handles dropping of assemblies, indexes, schemas, roles, users, triggers, functions,
procedures, sequences, tables, types, and views with appropriate danger warnings.
-
Constructor Summary
ConstructorsConstructorDescriptionDropMsStatement(TSQLParser.Schema_dropContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL DROP statements. -
Method Summary
Modifier and TypeMethodDescriptionvoidParses a database object from the current context.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.base.statement.ParserAbstract
fillOptionParams, fillOptionParams, getFullCtxText, getFullCtxText, getFullCtxText, getSafe, getSafe, parseArgMode, parseObject
-
Constructor Details
-
DropMsStatement
Creates a parser for Microsoft SQL DROP statements.- Parameters:
ctx- the ANTLR parse tree context for the DROP statementdb- the Microsoft SQL database schema being processedsettings- 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>
-