Class PLSQLParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.plsql.ast.PLSQLParser
-
- All Implemented Interfaces:
PLSQLParserConstants
,PLSQLParserTreeConstants
public class PLSQLParser extends Object implements PLSQLParserTreeConstants, PLSQLParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description Token
jj_nt
Next token.protected JJTPLSQLParserState
jjtree
Token
token
Current token.PLSQLParserTokenManager
token_source
Generated Token Manager.-
Fields inherited from interface net.sourceforge.pmd.lang.plsql.ast.PLSQLParserConstants
_CHARACTER, _CHARACTER_WO_ASTERISK, _DEFAULT, _WHATEVER_CHARACTER_WO_ASTERISK, _WHATEVER_CHARACTER_WO_QUOTE, A, ACCEPT, ACCESSIBLE, ADD, AFTER, AGGREGATE, ALL, ALTER, ANALYZE, AND, ANY, APPLY, ARRAY, AS, ASC, ASSOCIATE, AT, ATTACH, ATTRIBUTE, AUDIT, AUTHENTICATED, AUTHID, AUTONOMOUS_TRANSACTION, BEFORE, BEGIN, BETWEEN, BFILE, BFILE_BASE, BINARY_INTEGER, BLOB, BLOB_BASE, BODY, BOOLEAN, BOTH, BULK, BY, BYTE, CALL, CASCADE, CASE, CAST, CC_ELSE, CC_ELSIF, CC_END, CC_ERROR, CC_IF, CC_PLSQL_LINE, CC_PLSQL_UNIT, CC_THEN, CHAR, CHAR_BASE, CHAR_CS, CHARACTER, CHARACTER_LITERAL, CHARSETFORM, CHARSETID, CHECK, CLOB, CLOB_BASE, CLOSE, CLUSTER, CLUSTERS, COALESCE, COLAUTH, COLLECT, COLUMN, COLUMNS, COMMENT, COMMIT, COMPOUND, COMPRESS, CONNECT, CONNECT_BY_ROOT, CONSTANT, CONSTRAINT, CONSTRUCTOR, CONTEXT, CONTINUE, CONVERT, COPY, CRASH, CREATE, CROSS, CROSSEDITION, CUBE, CURRENT, CURRENT_USER, CURRVAL, CURSOR, CUSTOMDATUM_CLASS, DATA, DATABASE, DATE, DATE_BASE, DAY, DBTIMEZONE, DDL, DEC, DECIMAL, DECLARE, DEFAULT, DEFERRABLE, DEFERRED, DEFINE, DEFINER, DEFINITION, DELETE, DELIMITER, DESC, DETERMINISTIC, DIGIT, DIRECTORY, DISABLE, DISASSOCIATE, DISCONNECT, DISTINCT, DO, DOUBLE, DROP, DUPLICATED, EACH, EDITIONABLE, ELEMENT, ELSE, ELSIF, EMPTY, ENABLE, END, EOF, EOL, ESCAPE, EXCEPT, EXCEPTION, EXCEPTION_INIT, EXCEPTIONS, EXCLUSIVE, EXECUTE, EXISTS, EXIT, EXTENDED, EXTENDS, EXTERNAL, EXTRACT, FALSE, FETCH, FINAL, FLOAT, FLOAT_LITERAL, FOLLOWS, FOR, FORALL, FORCE, FOREACHROW, FOREIGN, FORMAL_COMMENT, FORWARD, FROM, FULL, FUNCTION, GENERATED, GERMAN_SPECIAL_CHARACTERS, GLOBAL, GOTO, GRANT, GROUP, GROUPING, HASH, HAVING, HEAP, HOST, HOUR, IDENTIFIED, IDENTIFIER, IF, IMMEDIATE, IN, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_OUT, IN_SQL_STATEMENT_ENDED_SEMICOLON, INCLUDING, INDEX, INDEXES, INDEXTYPE, INDICATOR, INDICES, INFINITE, INITIALLY, INLINE, INNER, INSERT, INSTANTIABLE, INSTEADOF, INT, INTEGER, INTEGER_LITERAL, INTERFACE, INTERSECT, INTERVAL, INTO, INVALIDATE, IS, ISOLATION, JAVA, JAVA_INTERFACE_CLASS, JOIN, KEY, LANGUAGE, LATERAL, LEADING, LEFT, LENGTH, LETTER, LEVEL, LIBRARY, LIKE, LIKE2, LIKE4, LIKEC, LIMIT, LIMITED, LINK, LOCAL, LOCK, LOGOFF, LOGON, LONG, LOOP, MAP, MAXLEN, MEMBER, MERGE, METADATA, MINUS, MINUTE, MLSLABEL, MOD, MODE, MODIFY, MONTH, MULTI_LINE_COMMENT, MULTISET, NAME, NAN, NATURAL, NATURALN, NCHAR, NCHAR_CS, NCLOB, NESTED, NEW, NEW_DOT, NEXT, NEXTVAL, NLS_LENGTH_SEMANTICS, NO, NOAUDIT, NOCOMPRESS, NOCOPY, NOCYCLE, NONE, NONEDITIONABLE, NOT, NOWAIT, NULL, NULLIF, NULLS, NUMBER, NUMBER_BASE, NUMERIC, NVARCHAR2, OBJECT, OCIROWID, OF, OFFSET, OID, OLD, ON, ONLY, OPAQUE, OPEN, OPERATOR, OPTION, OR, ORADATA_CLASS, ORDER, ORGANIZATION, OTHERS, OUT, OUTER, OVERLAPS, OVERRIDING, PACKAGE, PARALLEL_ENABLE, PARAMETERS, PARENT, PARTITION, PCTFREE, PERCENT, PIPE, PIPELINED, PLS_INTEGER, PLSQL_CCFLAGS, PLSQL_CODE_TYPE, PLSQL_DEBUG, PLSQL_OPTIMIZE_LEVEL, PLSQL_WARNINGS, POSITIVE, POSITIVEN, PRAGMA, PRECEDES, PRECISION, PRESERVE, PRIMARY, PRINT, PRIOR, PRIVATE, PROCEDURE, PROMPT, PUBLIC, QUIT, QUOTED_LITERAL, RAISE, RANGE, RAW, READ, REAL, RECORD, REFERENCES, REFERENCING, REGEXP_LIKE, RELEASE, RELIES_ON, REMARK, RENAME, RESOURCE, RESTRICT_REFERENCES, RESULT, RESULT_CACHE, RETURN, RETURNING, REVERSE, REVOKE, RIGHT, ROLLBACK, ROLLUP, ROW, ROWID, ROWNUM, ROWS, ROWTYPE, SAVE, SAVEPOINT, SCHEMA, SCOPE, SECOND, SELECT, SELF, SEPARATE, SERIALLY_REUSABLE, SERVERERROR, SESSIONTIMEZONE, SET, SETS, SHARDED, SHARE, SHARED, SHARING, SHOW, SHUTDOWN, SIBLINGS, SIGNTYPE, SINGLE_LINE_COMMENT, SIZE, SMALLINT, SOME, SPACE, SPECIAL_CHARACTERS, SPOOL, SQL, SQLCODE, SQLDATA_CLASS, SQLERRM, SQLPLUS_TERMINATOR, START, STARTUP, STATEMENT, STATIC, STATISTICS, STRING, STRING_LITERAL, STRUCT, SUBMULTISET, SUBSTITUTABLE, SUBTYPE, SUCCESSFUL, SUSPEND, SYNONYM, SYS_REFCURSOR, SYSDATE, TABAUTH, TABLE, TDO, TEMPORARY, THEN, TIES, TIME, TIMESTAMP, TIMEZONE_ABBR, TIMEZONE_HOUR, TIMEZONE_MINUTE, TIMEZONE_REGION, TO, tokenImage, TRAILING, TRANSACTION, TREAT, TRIGGER, TRUE, TRUNCATE, TYPE, UI, UNDEFINE, UNDER, UNION, UNIQUE, UNSIGNED_NUMERIC_LITERAL, UPDATE, UROWID, USER, USING, VALUES, VARCHAR, VARCHAR2, VARIABLE, VARRAY, VARYING, VIEW, VIEWS, WHEN, WHENEVER, WHERE, WHILE, WITH, WRAPPED, YEAR, YES, ZONE
-
Fields inherited from interface net.sourceforge.pmd.lang.plsql.ast.PLSQLParserTreeConstants
JJTACCESSIBLEBYCLAUSE, JJTADDITIVEEXPRESSION, JJTALTERTRIGGER, JJTALTERTYPESPEC, JJTANALYTICCLAUSE, JJTARGUMENT, JJTARGUMENTLIST, JJTARGUMENTS, JJTASSIGNMENT, JJTATTRIBUTE, JJTATTRIBUTEDECLARATION, JJTBETWEENCONDITION, JJTBLOCK, JJTBOOLEANLITERAL, JJTBULKCOLLECTINTOCLAUSE, JJTCALLSPECTAIL, JJTCASEEXPRESSION, JJTCASESTATEMENT, JJTCASEWHENCLAUSE, JJTCLOSESTATEMENT, JJTCOLLECTIONDECLARATION, JJTCOLLECTIONNAME, JJTCOLLECTIONTYPEDEFINITION, JJTCOLLECTIONTYPENAME, JJTCOLUMN, JJTCOLUMNALIAS, JJTCOMMENT, JJTCOMPARISONCONDITION, JJTCOMPILATIONDATATYPE, JJTCOMPILATIONDECLARATIONFRAGMENT, JJTCOMPILATIONEXPRESSION, JJTCOMPOUNDCONDITION, JJTCOMPOUNDTRIGGERBLOCK, JJTCONDITION, JJTCONDITIONALANDEXPRESSION, JJTCONDITIONALCOMPILATIONSTATEMENT, JJTCONDITIONALINSERTCLAUSE, JJTCONDITIONALOREXPRESSION, JJTCONTINUESTATEMENT, JJTCROSSOUTERAPPLYCLAUSE, JJTCURSORBODY, JJTCURSORFORLOOPSTATEMENT, JJTCURSORSPECIFICATION, JJTCURSORUNIT, JJTDATABASEEVENT, JJTDATABASELINK, JJTDATATYPE, JJTDATATYPEDECLARATION, JJTDATETIMELITERAL, JJTDDLCOMMAND, JJTDDLEVENT, JJTDECLARATIVESECTION, JJTDECLARATIVEUNIT, JJTDELETESTATEMENT, JJTDIRECTORY, JJTDMLTABLEEXPRESSIONCLAUSE, JJTELSECLAUSE, JJTELSIFCLAUSE, JJTEMBEDDEDSQLSTATEMENT, JJTEQUALITYEXPRESSION, JJTERRORLOGGINGCLAUSE, JJTEXCEPTIONDECLARATION, JJTEXCEPTIONHANDLER, JJTEXISTSCONDITION, JJTEXITSTATEMENT, JJTEXPRESSION, JJTEXPRESSIONLIST, JJTEXPRESSIONLISTMULTIPLE, JJTEXPRESSIONLISTSINGLE, JJTEXTRACTEXPRESSION, JJTFETCHSTATEMENT, JJTFIELDDECLARATION, JJTFLOATINGPOINTCONDITION, JJTFORALLINDEX, JJTFORALLSTATEMENT, JJTFORINDEX, JJTFORMALPARAMETER, JJTFORMALPARAMETERS, JJTFORSTATEMENT, JJTFORUPDATECLAUSE, JJTFROMCLAUSE, JJTFUNCTIONCALL, JJTFUNCTIONNAME, JJTGLOBAL, JJTGOTOSTATEMENT, JJTGROUPBYCLAUSE, JJTGROUPINGEXPRESSIONLIST, JJTGROUPINGSETSCLAUSE, JJTHIERARCHICALQUERYCLAUSE, JJTHOSTARRAYNAME, JJTID, JJTIFSTATEMENT, JJTINCONDITION, JJTINLINECONSTRAINT, JJTINLINEPRAGMA, JJTINNERCROSSJOINCLAUSE, JJTINPUT, JJTINSERTINTOCLAUSE, JJTINSERTSTATEMENT, JJTINTOCLAUSE, JJTISASETCONDITION, JJTISEMPTYCONDITION, JJTISNULLCONDITION, JJTISOFTYPECONDITION, JJTJAVAINTERFACECLASS, JJTJOINCLAUSE, JJTKEYWORD_UNRESERVED, JJTLABEL, JJTLABELLEDSTATEMENT, JJTLIKECONDITION, JJTLIKEEXPRESSION, JJTLISTAGGOVERFLOWCLAUSE, JJTLITERAL, JJTLOOPSTATEMENT, JJTMEMBERCONDITION, JJTMETHODDECLARATION, JJTMETHODDECLARATOR, JJTMULTIPLICATIVEEXPRESSION, JJTMULTISETCONDITION, JJTMULTITABLEINSERT, JJTNAME, jjtNodeName, JJTNONDMLEVENT, JJTNONDMLTRIGGER, JJTNULLLITERAL, JJTNUMERICLITERAL, JJTOBJECTDECLARATION, JJTOBJECTEXPRESSION, JJTOBJECTNAMEDECLARATION, JJTOPENSTATEMENT, JJTORDERBYCLAUSE, JJTOUTERJOINCLAUSE, JJTOUTERJOINEXPRESSION, JJTOUTERJOINTYPE, JJTOUTOFLINECONSTRAINT, JJTPACKAGEBODY, JJTPACKAGESPECIFICATION, JJTPARALLELCLAUSE, JJTPARTITIONEXTENSIONCLAUSE, JJTPIPELINESTATEMENT, JJTPRAGMA, JJTPRAGMACLAUSE, JJTPRIMARYEXPRESSION, JJTPRIMARYPREFIX, JJTPRIMARYSUFFIX, JJTPROGRAMUNIT, JJTQUALIFIEDID, JJTQUALIFIEDNAME, JJTQUERYBLOCK, JJTQUERYPARTITIONCLAUSE, JJTRAISESTATEMENT, JJTREAD2NEXTOCCURRENCE, JJTREADPASTNEXTOCCURRENCE, JJTREFERENCESCLAUSE, JJTREGEXPLIKECONDITION, JJTRELATIONALEXPRESSION, JJTRETURNINGCLAUSE, JJTRETURNSTATEMENT, JJTROLLUPCUBECLAUSE, JJTROWLIMITINGCLAUSE, JJTSCALARDATATYPENAME, JJTSCHEMANAME, JJTSELECTINTOSTATEMENT, JJTSELECTLIST, JJTSELECTSTATEMENT, JJTSIMPLEEXPRESSION, JJTSINGLETABLEINSERT, JJTSKIP2NEXTOCCURRENCE, JJTSKIP2NEXTTERMINATOR, JJTSKIP2NEXTTOKENOCCURRENCE, JJTSKIPPASTNEXTOCCURRENCE, JJTSKIPPASTNEXTTOKENOCCURRENCE, JJTSQLEXPRESSION, JJTSQLPLUSCOMMAND, JJTSQLSTATEMENT, JJTSTATEMENT, JJTSTRINGEXPRESSION, JJTSTRINGLITERAL, JJTSUBMULTISETCONDITION, JJTSUBQUERYOPERATION, JJTSUBQUERYRESTRICTIONCLAUSE, JJTSUBTYPEDEFINITION, JJTSYNONYM, JJTTABLE, JJTTABLEALIAS, JJTTABLECOLLECTIONEXPRESSION, JJTTABLECOLUMN, JJTTABLENAME, JJTTABLEREFERENCE, JJTTRIGGERTIMINGPOINTSECTION, JJTTRIGGERUNIT, JJTTRIMEXPRESSION, JJTTYPEKEYWORD, JJTTYPEMETHOD, JJTTYPESPECIFICATION, JJTUNARYEXPRESSION, JJTUNARYEXPRESSIONNOTPLUSMINUS, JJTUNLABELLEDSTATEMENT, JJTUNQUALIFIEDID, JJTUPDATESETCLAUSE, JJTUPDATESTATEMENT, JJTVALUESCLAUSE, JJTVARIABLENAME, JJTVARIABLEORCONSTANTDECLARATION, JJTVARIABLEORCONSTANTDECLARATOR, JJTVARIABLEORCONSTANTDECLARATORID, JJTVARIABLEORCONSTANTINITIALIZER, JJTVIEW, JJTVIEWCOLUMN, JJTVOID, JJTWHERECLAUSE, JJTWHILESTATEMENT, JJTWINDOWINGCLAUSE, JJTWITHCLAUSE, JJTWITHINCLAUSE, JJTWRAPPEDOBJECT, JJTXMLATTRIBUTESCLAUSE, JJTXMLELEMENT, JJTXMLEXISTS, JJTXMLNAMESPACESCLAUSE, JJTXMLPASSINGCLAUSE, JJTXMLTABLE, JJTXMLTABLECOLUM, JJTXMLTABLEOPTIONS
-
-
Constructor Summary
Constructors Constructor Description PLSQLParser(InputStream stream)
Constructor with InputStream.PLSQLParser(InputStream stream, String encoding)
Constructor with InputStream and supplied encodingPLSQLParser(Reader stream)
Constructor.PLSQLParser(PLSQLParserTokenManager tm)
Constructor with generated Token Manager.
-
Method Summary
-
-
-
Field Detail
-
jjtree
protected JJTPLSQLParserState jjtree
-
token_source
public PLSQLParserTokenManager token_source
Generated Token Manager.
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
-
Constructor Detail
-
PLSQLParser
public PLSQLParser(InputStream stream)
Constructor with InputStream.
-
PLSQLParser
public PLSQLParser(InputStream stream, String encoding)
Constructor with InputStream and supplied encoding
-
PLSQLParser
public PLSQLParser(Reader stream)
Constructor.
-
PLSQLParser
public PLSQLParser(PLSQLParserTokenManager tm)
Constructor with generated Token Manager.
-
-
Method Detail
-
main
public static void main(String[] args) throws ParseException
main method, for testing only.- Parameters:
args
-- Throws:
ParseException
-
canonicalName
public static String canonicalName(String name)
Return canonical version of the Oracle
-
Input
public final ASTInput Input(String sourcecode) throws ParseException
2006-05-22 - Matthias Hendler - added globalBody()- Throws:
ParseException
-
DDLCommand
public final ASTDDLCommand DDLCommand() throws ParseException
- Throws:
ParseException
-
SqlPlusCommand
public final ASTSqlPlusCommand SqlPlusCommand() throws ParseException
- Throws:
ParseException
-
Global
public final ASTGlobal Global() throws ParseException
All global definitions of triggers, functions and procedures are evaluated here. Every occurence goes under a new PACKAGE-Node in the XML document. This happens, cause a global "block" does not have a definied start and end token like a package specification or a package body. Thats why every construct is handled like a new part of the global package. To overcome this problem, I could use an infinity lookahead - which should solve the problem and slow down the whole parsing. Another idea would be to lookahead the next tokens and decide wether they belong to a package definition or not. Then I could decide to stay in this global parsing state. By now lookahead gives the parser a hint to choose the correct way on a given base. So we can't negate it easily. On the other hand I could also hold the global state in a global variable. But this does not seems the correct way to solve the problem, I think. 2006-05-17 - Matthias Hendler - added- Throws:
ParseException
-
Block
public final ASTBlock Block() throws ParseException
- Throws:
ParseException
-
PackageSpecification
public final ASTPackageSpecification PackageSpecification() throws ParseException
- Throws:
ParseException
-
PackageBody
public final ASTPackageBody PackageBody() throws ParseException
- Throws:
ParseException
-
DeclarativeUnit
public final ASTDeclarativeUnit DeclarativeUnit() throws ParseException
- Throws:
ParseException
-
DeclarativeSection
public final ASTDeclarativeSection DeclarativeSection() throws ParseException
- Throws:
ParseException
-
CompilationDeclarationFragment
public final ASTCompilationDeclarationFragment CompilationDeclarationFragment() throws ParseException
- Throws:
ParseException
-
ProgramUnit
public final ASTProgramUnit ProgramUnit() throws ParseException
2006-05-22 - Matthias Hendler - Printing of custom tag "@deprecated" removed. Printing of any custom tag added. Now user can define his own custom tags which he can evaluate in the XSLT. This methode also documents global functions/procedures.- Throws:
ParseException
-
ObjectNameDeclaration
public final ASTObjectNameDeclaration ObjectNameDeclaration() throws ParseException
- Throws:
ParseException
-
FormalParameter
public final ASTFormalParameter FormalParameter() throws ParseException
- Throws:
ParseException
-
MethodDeclaration
public final ASTMethodDeclaration MethodDeclaration() throws ParseException
- Throws:
ParseException
-
MethodDeclarator
public final ASTMethodDeclarator MethodDeclarator() throws ParseException
- Throws:
ParseException
-
FormalParameters
public final ASTFormalParameters FormalParameters() throws ParseException
- Throws:
ParseException
-
VariableOrConstantDeclarator
public final ASTVariableOrConstantDeclarator VariableOrConstantDeclarator() throws ParseException
- Throws:
ParseException
-
VariableOrConstantDeclaratorId
public final ASTVariableOrConstantDeclaratorId VariableOrConstantDeclaratorId() throws ParseException
- Throws:
ParseException
-
VariableOrConstantInitializer
public final ASTVariableOrConstantInitializer VariableOrConstantInitializer() throws ParseException
- Throws:
ParseException
-
Datatype
public final ASTDatatype Datatype() throws ParseException
- Throws:
ParseException
-
CompilationDataType
public final ASTCompilationDataType CompilationDataType() throws ParseException
- Throws:
ParseException
-
CollectionTypeName
public final ASTCollectionTypeName CollectionTypeName() throws ParseException
- Throws:
ParseException
-
ScalarDataTypeName
public final ASTScalarDataTypeName ScalarDataTypeName() throws ParseException
- Throws:
ParseException
-
DateTimeLiteral
public final ASTDateTimeLiteral DateTimeLiteral() throws ParseException
- Throws:
ParseException
-
ExceptionHandler
public final ASTExceptionHandler ExceptionHandler() throws ParseException
- Throws:
ParseException
-
Skip2NextTerminator
public final void Skip2NextTerminator(String initiator, String terminator) throws ParseException
- Throws:
ParseException
-
Skip2NextOccurrence
public final void Skip2NextOccurrence(String target) throws ParseException
- Throws:
ParseException
-
SkipPastNextOccurrence
public final void SkipPastNextOccurrence(String target) throws ParseException
- Throws:
ParseException
-
Skip2NextTokenOccurrence
public final void Skip2NextTokenOccurrence(int target) throws ParseException
- Throws:
ParseException
-
SkipPastNextTokenOccurrence
public final void SkipPastNextTokenOccurrence(int target) throws ParseException
- Throws:
ParseException
-
Read2NextOccurrence
public final ASTRead2NextOccurrence Read2NextOccurrence(String target) throws ParseException
- Throws:
ParseException
-
ReadPastNextOccurrence
public final ASTReadPastNextOccurrence ReadPastNextOccurrence(String target) throws ParseException
- Throws:
ParseException
-
SqlStatement
public final ASTSqlStatement SqlStatement(String initiator, String terminator) throws ParseException
2006-05-24 - Matthias Hendler - added MERGE- Throws:
ParseException
-
AbstractSelectStatement
public final void AbstractSelectStatement(AbstractSelectStatement node) throws ParseException
- Throws:
ParseException
-
SelectIntoStatement
public final ASTSelectIntoStatement SelectIntoStatement() throws ParseException
- Throws:
ParseException
-
RestOfStatement
public final void RestOfStatement() throws ParseException
- Throws:
ParseException
-
ForUpdateClause
public final void ForUpdateClause() throws ParseException
- Throws:
ParseException
-
ColumnPath
public final void ColumnPath() throws ParseException
- Throws:
ParseException
-
Subquery
public final void Subquery() throws ParseException
- Throws:
ParseException
-
SubqueryOperation
public final ASTSubqueryOperation SubqueryOperation() throws ParseException
- Throws:
ParseException
-
OrderByClause
public final ASTOrderByClause OrderByClause() throws ParseException
- Throws:
ParseException
-
OrderByEntry
public final void OrderByEntry() throws ParseException
- Throws:
ParseException
-
RowLimitingClause
public final ASTRowLimitingClause RowLimitingClause() throws ParseException
- Throws:
ParseException
-
QueryBlock
public final ASTQueryBlock QueryBlock() throws ParseException
- Throws:
ParseException
-
GroupByClause
public final ASTGroupByClause GroupByClause() throws ParseException
- Throws:
ParseException
-
RollupCubeClause
public final ASTRollupCubeClause RollupCubeClause() throws ParseException
- Throws:
ParseException
-
GroupingSetsClause
public final ASTGroupingSetsClause GroupingSetsClause() throws ParseException
- Throws:
ParseException
-
GroupingExpressionList
public final ASTGroupingExpressionList GroupingExpressionList() throws ParseException
- Throws:
ParseException
-
WhereClause
public final ASTWhereClause WhereClause() throws ParseException
- Throws:
ParseException
-
Condition
public final ASTCondition Condition() throws ParseException
- Throws:
ParseException
-
Condition2
public final void Condition2() throws ParseException
- Throws:
ParseException
-
FloatingPointCondition
public final ASTFloatingPointCondition FloatingPointCondition() throws ParseException
- Throws:
ParseException
-
BetweenCondition
public final ASTBetweenCondition BetweenCondition() throws ParseException
- Throws:
ParseException
-
LikeCondition
public final ASTLikeCondition LikeCondition() throws ParseException
- Throws:
ParseException
-
RegexpLikeCondition
public final ASTRegexpLikeCondition RegexpLikeCondition() throws ParseException
- Throws:
ParseException
-
ExistsCondition
public final ASTExistsCondition ExistsCondition() throws ParseException
- Throws:
ParseException
-
MultisetCondition
public final void MultisetCondition() throws ParseException
- Throws:
ParseException
-
IsASetCondition
public final ASTIsASetCondition IsASetCondition() throws ParseException
- Throws:
ParseException
-
IsEmptyCondition
public final ASTIsEmptyCondition IsEmptyCondition() throws ParseException
- Throws:
ParseException
-
MemberCondition
public final ASTMemberCondition MemberCondition() throws ParseException
- Throws:
ParseException
-
SubmultisetCondition
public final ASTSubmultisetCondition SubmultisetCondition() throws ParseException
- Throws:
ParseException
-
CompoundCondition
public final ASTCompoundCondition CompoundCondition() throws ParseException
- Throws:
ParseException
-
InCondition
public final ASTInCondition InCondition() throws ParseException
- Throws:
ParseException
-
ComparisonCondition
public final ASTComparisonCondition ComparisonCondition() throws ParseException
- Throws:
ParseException
-
ExpressionListSingle
public final ASTExpressionListSingle ExpressionListSingle() throws ParseException
- Throws:
ParseException
-
ExpressionListMultiple
public final ASTExpressionListMultiple ExpressionListMultiple() throws ParseException
- Throws:
ParseException
-
ExpressionList
public final ASTExpressionList ExpressionList() throws ParseException
- Throws:
ParseException
-
SqlExpression
public final ASTSqlExpression SqlExpression() throws ParseException
- Throws:
ParseException
-
SimpleExpression
public final ASTSimpleExpression SimpleExpression() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Simple-Expressions.html- Throws:
ParseException
-
OuterJoinExpression
public final ASTOuterJoinExpression OuterJoinExpression() throws ParseException
- Throws:
ParseException
-
FunctionCall
public final ASTFunctionCall FunctionCall() throws ParseException
Built-in function call or a user defined function call. See https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Functions.html#GUID-D079EFD3-C683-441F-977E-2C9503089982 See https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/About-User-Defined-Functions.html#GUID-4EB3E236-8216-471C-BA44-23D87BDFEA67 A function reference/name might be: function_name package.function_name package.schema.function_name optional: @ dblink- Throws:
ParseException
-
FunctionName
public final ASTFunctionName FunctionName() throws ParseException
- Throws:
ParseException
-
XMLTable
public final ASTXMLTable XMLTable() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/XMLTABLE.html- Throws:
ParseException
-
XMLNamespacesClause
public final ASTXMLNamespacesClause XMLNamespacesClause() throws ParseException
- Throws:
ParseException
-
XMLTableOptions
public final ASTXMLTableOptions XMLTableOptions() throws ParseException
- Throws:
ParseException
-
XMLTableColum
public final ASTXMLTableColum XMLTableColum() throws ParseException
- Throws:
ParseException
-
XMLPassingClause
public final ASTXMLPassingClause XMLPassingClause() throws ParseException
- Throws:
ParseException
-
XMLExists
public final ASTXMLExists XMLExists() throws ParseException
- Throws:
ParseException
-
XMLElement
public final ASTXMLElement XMLElement() throws ParseException
- Throws:
ParseException
-
XMLAttributesClause
public final ASTXMLAttributesClause XMLAttributesClause() throws ParseException
- Throws:
ParseException
-
AnalyticClause
public final ASTAnalyticClause AnalyticClause() throws ParseException
See https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Analytic-Functions.html- Throws:
ParseException
-
WindowingClause
public final ASTWindowingClause WindowingClause() throws ParseException
See https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Analytic-Functions.html- Throws:
ParseException
-
WithinClause
public final ASTWithinClause WithinClause() throws ParseException
Within Clause is used for the following analytic functions: CUME_DIST, DENSE_RANK, LISTAGG, PERCENT_RANK, PERCENTILE_CONT, PERCENTILE_DISC, RANK. See e.g. https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/LISTAGG.html- Throws:
ParseException
-
ListaggOverflowClause
public final ASTListaggOverflowClause ListaggOverflowClause() throws ParseException
- Throws:
ParseException
-
Column
public final ASTColumn Column() throws ParseException
- Throws:
ParseException
-
HierarchicalQueryClause
public final ASTHierarchicalQueryClause HierarchicalQueryClause() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/SELECT.html#GUID-CFA006CA-6FF1-4972-821E-6996142A51C6__I2126079- Throws:
ParseException
-
FromClause
public final ASTFromClause FromClause() throws ParseException
- Throws:
ParseException
-
FromClauseEntry
public final void FromClauseEntry() throws ParseException
- Throws:
ParseException
-
SelectList
public final ASTSelectList SelectList() throws ParseException
- Throws:
ParseException
-
SelectListEntry
public final void SelectListEntry() throws ParseException
- Throws:
ParseException
-
ColumnAlias
public final ASTColumnAlias ColumnAlias() throws ParseException
- Throws:
ParseException
-
TableAlias
public final ASTTableAlias TableAlias() throws ParseException
- Throws:
ParseException
-
IntoClause
public final ASTIntoClause IntoClause() throws ParseException
- Throws:
ParseException
-
VariableName
public final ASTVariableName VariableName() throws ParseException
- Throws:
ParseException
-
BulkCollectIntoClause
public final ASTBulkCollectIntoClause BulkCollectIntoClause() throws ParseException
- Throws:
ParseException
-
BulkCollectIntoClauseEntry
public final void BulkCollectIntoClauseEntry() throws ParseException
- Throws:
ParseException
-
CollectionName
public final ASTCollectionName CollectionName() throws ParseException
- Throws:
ParseException
-
HostArrayName
public final ASTHostArrayName HostArrayName() throws ParseException
- Throws:
ParseException
-
TableReference
public final ASTTableReference TableReference() throws ParseException
- Throws:
ParseException
-
QueryTableExpression
public final void QueryTableExpression() throws ParseException
- Throws:
ParseException
-
SubqueryRestrictionClause
public final ASTSubqueryRestrictionClause SubqueryRestrictionClause() throws ParseException
- Throws:
ParseException
-
TableCollectionExpression
public final ASTTableCollectionExpression TableCollectionExpression() throws ParseException
- Throws:
ParseException
-
TableReferenceInJoin
public final ASTTableReference TableReferenceInJoin() throws ParseException
Special production, used in joins. The table reference might have a table alias, but this should not match any following NATURAL, CROSS, etc. keywords, although these are allowed as alias names since these are not reserved words.- Throws:
ParseException
-
SchemaName
public final ASTSchemaName SchemaName() throws ParseException
- Throws:
ParseException
-
TableName
public final ASTTableName TableName() throws ParseException
- Throws:
ParseException
-
JoinClause
public final ASTJoinClause JoinClause() throws ParseException
- Throws:
ParseException
-
JoinClausePart
public final void JoinClausePart() throws ParseException
- Throws:
ParseException
-
InnerCrossJoinClause
public final ASTInnerCrossJoinClause InnerCrossJoinClause() throws ParseException
- Throws:
ParseException
-
OuterJoinClause
public final ASTOuterJoinClause OuterJoinClause() throws ParseException
- Throws:
ParseException
-
QueryPartitionClause
public final ASTQueryPartitionClause QueryPartitionClause() throws ParseException
- Throws:
ParseException
-
OuterJoinType
public final ASTOuterJoinType OuterJoinType() throws ParseException
- Throws:
ParseException
-
CrossOuterApplyClause
public final ASTCrossOuterApplyClause CrossOuterApplyClause() throws ParseException
- Throws:
ParseException
-
WrappedObject
public final void WrappedObject() throws ParseException
2011-05-15 - SRT - Added to cope with wrapped objects A wrapped function looks like this (always terminated by one or more equals signs "="):-" CREATE OR REPLACE FUNCTION "TESTUSER"."GET_DATE_STRING" / ** Return SYSDATE formatted using the provided template. @param p_date_format normal TO_CHARE/TO_DATE date template @return formatted datestring @see http://www.oracle-base.com/articles/10g/WrapAndDBMS_DDL_10gR2.php#dbms_ddl / wrapped a000000 369 abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd 8 89 b6 /SBrhM8+1iUO4QAih+qD2SK8kSowg8eZgcfLCNL+XlquYvSuoVah8JbRPpdHDLHn479SdFLw v04omzJ0zOfHdMAzuHQlw+fAsr2ym9YI8I521pRTbnFVAHOOUw4JqPkIyj7wj4VwyL17nhYb 3qPVuL6SvhZTmEBnRtaErHpzaDuIpqZ0G4s= "
- Throws:
ParseException
-
UnlabelledStatement
public final ASTUnlabelledStatement UnlabelledStatement() throws ParseException
2006-05-24 - Matthias Hendler - added MERGE, EXECUTE choice and LOOKAHEAD at <LOOP>- Throws:
ParseException
-
Statement
public final ASTStatement Statement() throws ParseException
- Throws:
ParseException
-
LabelledStatement
public final ASTLabelledStatement LabelledStatement() throws ParseException
- Throws:
ParseException
-
CaseStatement
public final ASTCaseStatement CaseStatement() throws ParseException
- Throws:
ParseException
-
CaseWhenClause
public final ASTCaseWhenClause CaseWhenClause() throws ParseException
- Throws:
ParseException
-
ElseClause
public final ASTElseClause ElseClause() throws ParseException
- Throws:
ParseException
-
ElsifClause
public final ASTElsifClause ElsifClause() throws ParseException
- Throws:
ParseException
-
LoopStatement
public final ASTLoopStatement LoopStatement() throws ParseException
- Throws:
ParseException
-
CursorForLoopStatement
public final ASTCursorForLoopStatement CursorForLoopStatement() throws ParseException
- Throws:
ParseException
-
InsertStatement
public final ASTInsertStatement InsertStatement() throws ParseException
See https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/INSERT.html#GUID-903F8043-0254-4EE9-ACC1-CB8AC0AF3423- Throws:
ParseException
-
SingleTableInsert
public final ASTSingleTableInsert SingleTableInsert() throws ParseException
- Throws:
ParseException
-
InsertIntoClause
public final ASTInsertIntoClause InsertIntoClause() throws ParseException
- Throws:
ParseException
-
ValuesClause
public final ASTValuesClause ValuesClause() throws ParseException
- Throws:
ParseException
-
MultiTableInsert
public final ASTMultiTableInsert MultiTableInsert() throws ParseException
- Throws:
ParseException
-
ConditionalInsertClause
public final ASTConditionalInsertClause ConditionalInsertClause() throws ParseException
- Throws:
ParseException
-
SelectStatement
public final ASTSelectStatement SelectStatement() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/SELECT.html#GUID-CFA006CA-6FF1-4972-821E-6996142A51C6- Throws:
ParseException
-
WithClause
public final ASTWithClause WithClause() throws ParseException
- Throws:
ParseException
-
SubqueryFactoringClause
public final void SubqueryFactoringClause() throws ParseException
- Throws:
ParseException
-
UpdateStatement
public final ASTUpdateStatement UpdateStatement() throws ParseException
- Throws:
ParseException
-
DMLTableExpressionClause
public final ASTDMLTableExpressionClause DMLTableExpressionClause() throws ParseException
- Throws:
ParseException
-
PartitionExtensionClause
public final ASTPartitionExtensionClause PartitionExtensionClause() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/UPDATE.html#GUID-027A462D-379D-4E35-8611-410F3AC8FDA5__CHDBBDEI- Throws:
ParseException
-
UpdateSetClause
public final ASTUpdateSetClause UpdateSetClause() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/UPDATE.html#GUID-027A462D-379D-4E35-8611-410F3AC8FDA5__I2126876- Throws:
ParseException
-
ReturningClause
public final ASTReturningClause ReturningClause() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/UPDATE.html#GUID-027A462D-379D-4E35-8611-410F3AC8FDA5__I2126358- Throws:
ParseException
-
ErrorLoggingClause
public final ASTErrorLoggingClause ErrorLoggingClause() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/UPDATE.html#GUID-027A462D-379D-4E35-8611-410F3AC8FDA5__BCEEAAGC- Throws:
ParseException
-
DeleteStatement
public final ASTDeleteStatement DeleteStatement() throws ParseException
- Throws:
ParseException
-
ForStatement
public final ASTForStatement ForStatement() throws ParseException
Scope rule: the loop index only exists within the Loop- Throws:
ParseException
-
WhileStatement
public final ASTWhileStatement WhileStatement() throws ParseException
- Throws:
ParseException
-
IfStatement
public final ASTIfStatement IfStatement() throws ParseException
- Throws:
ParseException
-
ForIndex
public final ASTForIndex ForIndex() throws ParseException
ForIndex is declared implicitly, unlike most variables or constants.- Throws:
ParseException
-
ForAllIndex
public final ASTForAllIndex ForAllIndex() throws ParseException
ForAllIndex is declared implicitly, unlike most variables or constants.- Throws:
ParseException
-
ForAllStatement
public final ASTForAllStatement ForAllStatement() throws ParseException
- Throws:
ParseException
-
GotoStatement
public final ASTGotoStatement GotoStatement() throws ParseException
- Throws:
ParseException
-
ReturnStatement
public final ASTReturnStatement ReturnStatement() throws ParseException
- Throws:
ParseException
-
ContinueStatement
public final ASTContinueStatement ContinueStatement() throws ParseException
- Throws:
ParseException
-
ExitStatement
public final ASTExitStatement ExitStatement() throws ParseException
- Throws:
ParseException
-
RaiseStatement
public final ASTRaiseStatement RaiseStatement() throws ParseException
- Throws:
ParseException
-
CloseStatement
public final ASTCloseStatement CloseStatement() throws ParseException
- Throws:
ParseException
-
OpenStatement
public final ASTOpenStatement OpenStatement() throws ParseException
- Throws:
ParseException
-
FetchStatement
public final ASTFetchStatement FetchStatement() throws ParseException
- Throws:
ParseException
-
EmbeddedSqlStatement
public final ASTEmbeddedSqlStatement EmbeddedSqlStatement() throws ParseException
- Throws:
ParseException
-
PipelineStatement
public final ASTPipelineStatement PipelineStatement() throws ParseException
- Throws:
ParseException
-
ConditionalCompilationStatement
public final ASTConditionalCompilationStatement ConditionalCompilationStatement() throws ParseException
- Throws:
ParseException
-
SubTypeDefinition
public final ASTSubTypeDefinition SubTypeDefinition() throws ParseException
- Throws:
ParseException
-
FieldDeclaration
public final ASTFieldDeclaration FieldDeclaration() throws ParseException
- Throws:
ParseException
-
CollectionTypeDefinition
public final ASTCollectionTypeDefinition CollectionTypeDefinition() throws ParseException
- Throws:
ParseException
-
CollectionDeclaration
public final ASTCollectionDeclaration CollectionDeclaration() throws ParseException
- Throws:
ParseException
-
ObjectDeclaration
public final ASTObjectDeclaration ObjectDeclaration() throws ParseException
- Throws:
ParseException
-
CallSpecTail
public final ASTCallSpecTail CallSpecTail() throws ParseException
Java stored procedure, external function- Throws:
ParseException
-
CursorUnit
public final ASTCursorUnit CursorUnit() throws ParseException
Cursor (common part of specification and body) See https://docs.oracle.com/en/database/oracle/oracle-database/18/lnpls/explicit-cursor-declaration-and-definition.html#GUID-38C5DBA3-9DEC-4AF2-9B5E-7B721D11A77C- Throws:
ParseException
-
CursorSpecification
public final ASTCursorSpecification CursorSpecification() throws ParseException
- Throws:
ParseException
-
CursorBody
public final ASTCursorBody CursorBody() throws ParseException
- Throws:
ParseException
-
Expression
public final ASTExpression Expression() throws ParseException
- Throws:
ParseException
-
CompilationExpression
public final ASTCompilationExpression CompilationExpression() throws ParseException
- Throws:
ParseException
-
Assignment
public final ASTAssignment Assignment() throws ParseException
- Throws:
ParseException
-
CaseExpression
public final ASTCaseExpression CaseExpression() throws ParseException
- Throws:
ParseException
-
LikeExpression
public final ASTLikeExpression LikeExpression() throws ParseException
- Throws:
ParseException
-
TrimExpression
public final ASTTrimExpression TrimExpression() throws ParseException
https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/TRIM.html- Throws:
ParseException
-
ObjectExpression
public final ASTObjectExpression ObjectExpression() throws ParseException
- Throws:
ParseException
-
ConditionalOrExpression
public final ASTConditionalOrExpression ConditionalOrExpression() throws ParseException
- Throws:
ParseException
-
ConditionalAndExpression
public final ASTConditionalAndExpression ConditionalAndExpression() throws ParseException
- Throws:
ParseException
-
EqualityExpression
public final ASTEqualityExpression EqualityExpression() throws ParseException
- Throws:
ParseException
-
RelationalExpression
public final ASTRelationalExpression RelationalExpression() throws ParseException
Relational operators: https://docs.oracle.com/en/database/oracle/oracle-database/18/lnpls/plsql-language-fundamentals.html#GUID-2EB964C8-9B36-4009-A45F-B340F44EE2A2- Throws:
ParseException
-
AdditiveExpression
public final ASTAdditiveExpression AdditiveExpression() throws ParseException
- Throws:
ParseException
-
StringExpression
public final ASTStringExpression StringExpression() throws ParseException
- Throws:
ParseException
-
MultiplicativeExpression
public final ASTMultiplicativeExpression MultiplicativeExpression() throws ParseException
- Throws:
ParseException
-
UnaryExpression
public final ASTUnaryExpression UnaryExpression(boolean isUnarySign) throws ParseException
- Throws:
ParseException
-
ExtractExpression
public final ASTExtractExpression ExtractExpression() throws ParseException
- Throws:
ParseException
-
UnaryExpressionNotPlusMinus
public final ASTUnaryExpressionNotPlusMinus UnaryExpressionNotPlusMinus() throws ParseException
- Throws:
ParseException
-
IsNullCondition
public final ASTIsNullCondition IsNullCondition() throws ParseException
- Throws:
ParseException
-
IsOfTypeCondition
public final ASTIsOfTypeCondition IsOfTypeCondition() throws ParseException
- Throws:
ParseException
-
PrimaryExpression
public final ASTPrimaryExpression PrimaryExpression() throws ParseException
2006-05-23 - Matthias Hendler - Added lookahead otherwise warning encountered. Warning arised while adding methode triggerUnit(). 2011-04-27 - SRT - Add optional NEW Keyword to cope with Object Type constructors- Throws:
ParseException
-
PrimaryPrefix
public final ASTPrimaryPrefix PrimaryPrefix() throws ParseException
- Throws:
ParseException
-
PrimarySuffix
public final ASTPrimarySuffix PrimarySuffix() throws ParseException
- Throws:
ParseException
-
Literal
public final ASTLiteral Literal() throws ParseException
- Throws:
ParseException
-
StringLiteral
public final ASTStringLiteral StringLiteral() throws ParseException
- Throws:
ParseException
-
BooleanLiteral
public final ASTBooleanLiteral BooleanLiteral() throws ParseException
- Throws:
ParseException
-
NullLiteral
public final ASTNullLiteral NullLiteral() throws ParseException
- Throws:
ParseException
-
MultiSetCondition
public final ASTMultiSetCondition MultiSetCondition() throws ParseException
- Throws:
ParseException
-
NumericLiteral
public final ASTNumericLiteral NumericLiteral() throws ParseException
Recognizes a numeric literal. This may look like token, but it isn't. Not atomic enough. E.g. "+1" would be valid literal, which make parsing of "i+1" impossible (here, we have tokens "i", "+" and "1")- Throws:
ParseException
-
Label
public final ASTLabel Label() throws ParseException
This cannot be a token because these are valid labels '<< next_msg >>", '<<"OUTER LOOP">>'- Throws:
ParseException
-
Name
public final ASTName Name() throws ParseException
- Throws:
ParseException
-
QualifiedName
public final ASTQualifiedName QualifiedName() throws ParseException
- Throws:
ParseException
-
Arguments
public final ASTArguments Arguments() throws ParseException
- Throws:
ParseException
-
ArgumentList
public final ASTArgumentList ArgumentList() throws ParseException
- Throws:
ParseException
-
Argument
public final ASTArgument Argument() throws ParseException
- Throws:
ParseException
-
VariableOrConstantDeclaration
public final ASTVariableOrConstantDeclaration VariableOrConstantDeclaration() throws ParseException
- Throws:
ParseException
-
DatatypeDeclaration
public final ASTDatatypeDeclaration DatatypeDeclaration() throws ParseException
- Throws:
ParseException
-
Pragma
public final ASTPragma Pragma() throws ParseException
- Throws:
ParseException
-
InlinePragma
public final ASTInlinePragma InlinePragma() throws ParseException
- Throws:
ParseException
-
ExceptionDeclaration
public final ASTExceptionDeclaration ExceptionDeclaration() throws ParseException
- Throws:
ParseException
-
ParallelClause
public final ASTParallelClause ParallelClause() throws ParseException
- Throws:
ParseException
-
AccessibleByClause
public final ASTAccessibleByClause AccessibleByClause() throws ParseException
- Throws:
ParseException
-
Table
public final ASTTable Table() throws ParseException
2006-05-10 - Matthias Hendler - merged SIV and sourceforge sources- Throws:
ParseException
-
TableColumn
public final ASTTableColumn TableColumn() throws ParseException
- Throws:
ParseException
-
InlineConstraint
public final ASTInlineConstraint InlineConstraint() throws ParseException
- Throws:
ParseException
-
OutOfLineConstraint
public final ASTOutOfLineConstraint OutOfLineConstraint() throws ParseException
- Throws:
ParseException
-
ConstraintState
public final void ConstraintState() throws ParseException
- Throws:
ParseException
-
ReferencesClause
public final ASTReferencesClause ReferencesClause() throws ParseException
- Throws:
ParseException
-
View
public final ASTView View() throws ParseException
- Throws:
ParseException
-
Synonym
public final ASTSynonym Synonym() throws ParseException
- Throws:
ParseException
-
Directory
public final ASTDirectory Directory() throws ParseException
- Throws:
ParseException
-
DatabaseLink
public final ASTDatabaseLink DatabaseLink() throws ParseException
- Throws:
ParseException
-
ViewColumn
public final ASTViewColumn ViewColumn() throws ParseException
- Throws:
ParseException
-
Comment
public final ASTComment Comment() throws ParseException
- Throws:
ParseException
-
TypeMethod
public final ASTTypeMethod TypeMethod() throws ParseException
- Throws:
ParseException
-
TypeSpecification
public final ASTTypeSpecification TypeSpecification() throws ParseException
- Throws:
ParseException
-
AlterTypeSpec
public final ASTAlterTypeSpec AlterTypeSpec() throws ParseException
- Throws:
ParseException
-
AttributeDeclaration
public final ASTAttributeDeclaration AttributeDeclaration() throws ParseException
Method- Throws:
ParseException
-
Attribute
public final ASTAttribute Attribute() throws ParseException
- Throws:
ParseException
-
PragmaClause
public final ASTPragmaClause PragmaClause() throws ParseException
- Throws:
ParseException
-
TriggerUnit
public final ASTTriggerUnit TriggerUnit() throws ParseException
Trigger Triggers are always outside of a package. 2006-05-17 - Matthias Hendler - added- Throws:
ParseException
-
TriggerTimingPointSection
public final ASTTriggerTimingPointSection TriggerTimingPointSection() throws ParseException
- Throws:
ParseException
-
CompoundTriggerBlock
public final ASTCompoundTriggerBlock CompoundTriggerBlock() throws ParseException
- Throws:
ParseException
-
NonDMLTrigger
public final ASTNonDMLTrigger NonDMLTrigger() throws ParseException
- Throws:
ParseException
-
DDLEvent
public final ASTDDLEvent DDLEvent() throws ParseException
- Throws:
ParseException
-
DatabaseEvent
public final ASTDatabaseEvent DatabaseEvent() throws ParseException
- Throws:
ParseException
-
NonDMLEvent
public final ASTNonDMLEvent NonDMLEvent() throws ParseException
- Throws:
ParseException
-
AlterTrigger
public final void AlterTrigger() throws ParseException
- Throws:
ParseException
-
RESERVED_WORD
public final void RESERVED_WORD() throws ParseException
PL/SQL Reserved words https://docs.oracle.com/en/database/oracle/oracle-database/18/lnpls/plsql-reserved-words-keywords.html Note: This production is not used, it is just here for reference of collecting all reserved words. Reserved words cannot be used a identifiers.- Throws:
ParseException
-
KEYWORD
public final void KEYWORD(String id) throws ParseException
- Throws:
ParseException
-
KEYWORD_UNRESERVED
public final ASTKEYWORD_UNRESERVED KEYWORD_UNRESERVED() throws ParseException
- Throws:
ParseException
-
ID
public final ASTID ID() throws ParseException
2006-05-20 - Matthias Hendler - added <OLD> and <PARENT>- Throws:
ParseException
-
UnqualifiedID
public final ASTUnqualifiedID UnqualifiedID() throws ParseException
2006-05-20 - Matthias Hendler - added <OLD>, <NEW>, <LOOP>, <INT>- Throws:
ParseException
-
QualifiedID
public final ASTQualifiedID QualifiedID() throws ParseException
2006-05-20 - Matthias Hendler - added <LIMIT>- Throws:
ParseException
-
TypeKeyword
public final ASTTypeKeyword TypeKeyword() throws ParseException
- Throws:
ParseException
-
JavaInterfaceClass
public final ASTJavaInterfaceClass JavaInterfaceClass() throws ParseException
- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
Reinitialise.
-
ReInit
public void ReInit(InputStream stream, String encoding)
Reinitialise.
-
ReInit
public void ReInit(Reader stream)
Reinitialise.
-
ReInit
public void ReInit(PLSQLParserTokenManager tm)
Reinitialise.
-
getNextToken
public final Token getNextToken()
Get the next Token.
-
getToken
public final Token getToken(int index)
Get the specific Token.
-
generateParseException
public ParseException generateParseException()
Generate ParseException.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
-