Class AlterMsRole
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.AlterMsRole
Parser for Microsoft SQL ALTER ROLE statements.
Handles role modifications including adding members to database roles.
-
Constructor Summary
ConstructorsConstructorDescriptionAlterMsRole(TSQLParser.Alter_db_roleContext ctx, MsDatabase db, ISettings settings) Creates a parser for Microsoft SQL ALTER ROLE 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
-
AlterMsRole
Creates a parser for Microsoft SQL ALTER ROLE statements.- Parameters:
ctx- the ANTLR parse tree context for the ALTER ROLE 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>
-