| org.netbeans.modules.db.sql.editor.SQLSyntax
SQLSyntax | public class SQLSyntax extends Syntax (Code) | | This class implements SQL syntax recognition
author: Jesse Beaumont |
Method Summary | |
public String | getStateName(int stateNumber) | public TokenID | matchKeyword(char[] buffer, int offset, int len) Tries to match the specified sequence of characters to a SQL
keyword. | protected TokenID | parseToken() |
SQLSyntax | public SQLSyntax()(Code) | | Creates a new instance of SQLSyntax
|
getStateName | public String getStateName(int stateNumber)(Code) | | Returns the state name for the state id
|
matchKeyword | public TokenID matchKeyword(char[] buffer, int offset, int len)(Code) | | Tries to match the specified sequence of characters to a SQL
keyword.
the KEYWORD id or null if no match was found |
parseToken | protected TokenID parseToken()(Code) | | Parse the next token
|
|
|