JSqlParser icon indicating copy to clipboard operation
JSqlParser copied to clipboard

use interface in ColumnDefinition

Open sixinli opened this issue 2 years ago • 0 comments

it seems like since https://github.com/JSQLParser/JSqlParser/pull/1274/files#diff-7a533138e54adbf0baac5356d4b7d4a6d192300199ef50eede004f706fd35de3R104 ColumnDefinition accepts ExpressionVisitorAdapter https://github.com/JSQLParser/JSqlParser/blob/c89cf21641d672b1ea5e724b3c6f3497429ce97a/src/main/java/net/sf/jsqlparser/statement/create/table/ColumnDefinition.java#L104-L106

is it possible to have it take one of the interfaces instead?

(just noticed also, they seem to be referencing each other, ExpressionVisitorAdapter#visit calls ColumnDefinition#accept)

sixinli avatar Oct 12 '21 20:10 sixinli