-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corrected lookahead problem of PR #1225
- Loading branch information
Tobias Warneke
committed
Jun 14, 2021
1 parent
d70e151
commit aec76ea
Showing
5 changed files
with
672 additions
and
670 deletions.
There are no files selected for viewing
64 changes: 32 additions & 32 deletions
64
src/main/java/net/sf/jsqlparser/util/deparser/CreateSequenceDeParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
/* | ||
* #%L | ||
* JSQLParser library | ||
* %% | ||
* Copyright (C) 2004 - 2020 JSQLParser | ||
* %% | ||
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0 | ||
* #L% | ||
*/ | ||
package net.sf.jsqlparser.util.deparser; | ||
|
||
import net.sf.jsqlparser.statement.create.sequence.CreateSequence; | ||
|
||
/** | ||
* A class to de-parse (that is, transform from JSqlParser hierarchy into a string) a | ||
* {@link net.sf.jsqlparser.statement.create.sequence.CreateSequence} | ||
*/ | ||
public class CreateSequenceDeParser extends AbstractDeParser<CreateSequence>{ | ||
|
||
/** | ||
* @param buffer the buffer that will be filled with the CreatSequence | ||
*/ | ||
public CreateSequenceDeParser(StringBuilder buffer) { | ||
super(buffer); | ||
} | ||
|
||
@Override | ||
public void deParse(CreateSequence statement) { | ||
buffer.append("CREATE SEQUENCE "); | ||
buffer.append(statement.getSequence()); | ||
} | ||
} | ||
/* | ||
* #%L | ||
* JSQLParser library | ||
* %% | ||
* Copyright (C) 2004 - 2020 JSQLParser | ||
* %% | ||
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0 | ||
* #L% | ||
*/ | ||
package net.sf.jsqlparser.util.deparser; | ||
|
||
import net.sf.jsqlparser.statement.create.sequence.CreateSequence; | ||
|
||
/** | ||
* A class to de-parse (that is, transform from JSqlParser hierarchy into a string) a | ||
* {@link net.sf.jsqlparser.statement.create.sequence.CreateSequence} | ||
*/ | ||
public class CreateSequenceDeParser extends AbstractDeParser<CreateSequence>{ | ||
|
||
/** | ||
* @param buffer the buffer that will be filled with the CreatSequence | ||
*/ | ||
public CreateSequenceDeParser(StringBuilder buffer) { | ||
super(buffer); | ||
} | ||
|
||
@Override | ||
public void deParse(CreateSequence statement) { | ||
buffer.append("CREATE SEQUENCE "); | ||
buffer.append(statement.getSequence()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.