visitDefaultValues method
Implementation
@override
void visitDefaultValues(DefaultValues e, void arg) {
// `DEFAULT VALUES` is not supported in a trigger, see https://www.sqlite.org/lang_insert.html
if (_isInTopLevelTriggerStatement) {
context.reportError(
AnalysisError(
type: AnalysisErrorType.synctactic,
message: '`DEFAULT VALUES` cannot be used in a trigger.',
relevantNode: e,
),
);
}
visitChildren(e, arg);
}