Skip navigation links


com.essbase.eas.ui.editor.misc
Interface StatementParser

All Known Implementing Classes:
MaxlCommands, MDXCommands, ScriptingCommands, StatementCommands

public interface StatementParser

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Method Summary
 void addCommand(StatementToken token)
          adds a child command
 StatementToken createCommand(java.lang.String name)
          creates the default command object
 char getEndOfLineChar()
           
 java.lang.String setCurrentStatement(StatementContext context)
          Returns the current statement based on the cursor
 void setEndOfLineChar(char ch)
           
 void setLastStatementToken(StatementContext context)
          Get the last command token representing the current statement syntax
 void setOptions(StatementContext context)
          Get the valid options from the last ommand token to be shown
 void setTokenList(StatementContext context)
          breaks up the statement into a list of tokens
 void showOptions(StatementContext context)
          Shows the options

 

Method Detail

setCurrentStatement

java.lang.String setCurrentStatement(StatementContext context)
Returns the current statement based on the cursor

setTokenList

void setTokenList(StatementContext context)
breaks up the statement into a list of tokens

setLastStatementToken

void setLastStatementToken(StatementContext context)
Get the last command token representing the current statement syntax

setOptions

void setOptions(StatementContext context)
Get the valid options from the last ommand token to be shown

showOptions

void showOptions(StatementContext context)
Shows the options

addCommand

void addCommand(StatementToken token)
adds a child command
Parameters:
token - command to add

createCommand

StatementToken createCommand(java.lang.String name)
creates the default command object
Parameters:
name - the name of the command
Returns:
the created command

setEndOfLineChar

void setEndOfLineChar(char ch)

getEndOfLineChar

char getEndOfLineChar()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.