org.sintef.mofscript.parser
Class MofScriptParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by org.sintef.mofscript.parser.MofScriptParser
All Implemented Interfaces:
MofScriptParserTokenTypes

public class MofScriptParser
extends antlr.LLkParser
implements MofScriptParserTokenTypes

MOFSCRIPT Parser/Lexer grammar

Author:
Jon Oldevik

Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.sintef.mofscript.parser.MofScriptParserTokenTypes
ALPHA, ALPHA_SIGN, ARROW, BOOLEAN_LITERAL, CHARACTER, CHARACTER_IN_SINGLE_QUOTE, COLON, COLONCOLON, COMMA, COMMENT, CURLY_LEFT, CURLY_RIGHT, DIGIT, DIV, DOT, DOUBLE_AND, DOUBLE_EQ, DOUBLE_PIPE, EOF, EQ, ESC, EXCLAMATION, GE, GT, HASH, INTEGER_LITERAL, LE, LITERAL_abstract, LITERAL_access, LITERAL_and, LITERAL_boolean, LITERAL_Boolean, LITERAL_create, LITERAL_dictionary, LITERAL_Dictionary, LITERAL_else, LITERAL_extends, LITERAL_file, LITERAL_forEach, LITERAL_hashtable, LITERAL_Hashtable, LITERAL_if, LITERAL_import, LITERAL_in, LITERAL_indent, LITERAL_integer, LITERAL_Integer, LITERAL_library, LITERAL_list, LITERAL_List, LITERAL_log, LITERAL_main, LITERAL_newline, LITERAL_nl, LITERAL_not, LITERAL_object, LITERAL_Object, LITERAL_or, LITERAL_out, LITERAL_print, LITERAL_println, LITERAL_property, LITERAL_real, LITERAL_Real, LITERAL_result, LITERAL_space, LITERAL_stdout, LITERAL_string, LITERAL_String, LITERAL_tab, LITERAL_textmodule, LITERAL_texttransformation, LITERAL_transformation, LITERAL_undent, LITERAL_unprotect, LITERAL_use, LITERAL_var, LT, MINUS, ML_COMMENT, ML_ESCAPE, NE, NL, NULL_LITERAL, NULL_TREE_LOOKAHEAD, PAREN_LEFT, PAREN_RIGHT, PIPE, PLUS, PLUS_EQ, SEMI_COLON, SIMPLE_NAME, SINGLE_QUOTE, SQUARE_LEFT, SQUARE_RIGHT, STAR, STRING_LITERAL, WS, ZERO
 
Constructor Summary
  MofScriptParser(antlr.ParserSharedInputState state)
           
  MofScriptParser(antlr.TokenBuffer tokenBuf)
           
protected MofScriptParser(antlr.TokenBuffer tokenBuf, int k)
           
  MofScriptParser(antlr.TokenStream lexer)
           
protected MofScriptParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 TransformationRule abstractTransformationRule()
          An abstract transformation rule
 ValueExpression actualParameter()
          actual parameter
 void actualParameters(FunctionCall call)
          The parameters of a function call
 LogicalExpression andExpression()
          AND
 Expression andExpressionPart()
          AND part
 AssignmentOperator assignmentPart()
          Assignment part
 Literal booleanLiteral()
          A boolean literal (true | false)
protected  void buildTokenTypeASTClassMap()
           
 Expression comparisonExpression()
          Comparison expressions
 ComparisonOperator comparisonOperator()
          Comparison Operator (= !
 VariableDeclaration constantDeclaration()
          Constant declaration
 java.lang.String context()
          The context of a rule
 CreateStatement createStatement()
          Deprecated.  
 java.lang.String directPrintCommand()
          Direct print command
 PrintStatement directPrintStatement()
          Some direct print commands (newline, indent, log..)
 java.util.Vector escapeStatement()
          Escape statement <%
 PrintStatement expressionList()
          List of expressions treated as output printing expressions
 java.lang.String extendsSpecification()
          Transformation extension
 FileStatement fileStatement()
          File statement
 LogicalExpression filterSpec()
          Filer for an iterator
 FunctionCall functionCallExpression(java.lang.String sName)
          Function call expression.
 FunctionCallStatement functionCallStatement(java.lang.String sName)
          Function Call statement
 SimpleExpression functionOrReference()
           
 GeneralAssignment generalAssignment(java.lang.String sName)
          Normal assignment (to variables)
 IfStatement ifStatement()
          If statements
 java.lang.String importUri()
           
 Literal integerLiteral()
          Integer literal
 void iteratorBody(MOFScriptStatementOwner statementOwner)
          The body of an iterator
 IteratorStatement iteratorStatement(SimpleExpression source)
          Iterator statement (FOREACH)
 Literal literal()
          a literal
 LogicalExpression logicalExpression()
          Logical Expressions
 Expression logicalExpressionPart()
          Part of a logical expression
 MOFScriptTransformation mofscriptDeclarationExtra()
          Rules used for temporary parsing of transformation headers / signatures
 java.util.Vector mofscriptModuleDecl(MOFScriptTransformation transformationOwner)
          Module declaration
 MOFScriptSpecification mofscriptSpecification()
          the root of a specification - one or more transformations
 MOFScriptTransformation mofscriptTransformation(MOFScriptSpecification spec)
          The root of a transformation
 void mofscriptTransformationBody(MOFScriptSpecification spec, MOFScriptTransformation transformation)
          the body of a transformation
 void mofscriptTransformationHeader(MOFScriptSpecification spec, MOFScriptTransformation transformation)
          the header (signature) of a transformation
 MOFScriptParameter mttModuleParam()
          A single module parameter
 java.util.Vector mttModuleParams()
          Parameters to the transformation
 TransformationRule normalTransformationRule()
          A normal transformation rule
 LogicalExpression notExpression()
          NOT
 int number()
          number - an integer number using by the direct print commands
 LogicalExpression orExpression()
          OR
 Expression orExpressionPart()
          OR
 void parameter(java.util.Vector container)
          parameter
 java.lang.String parameterDirection()
          The direction of a parameter
 java.util.Vector parameters()
          parameters
 java.lang.String printCmd()
          A print command.
 PrintStatement printStatement(java.lang.String context)
          Print statement
 void protectedTransformationRuleStatements(MOFScriptStatementOwner owner)
          protceted rule statements
 Literal realLiteral()
          Real literal
 ResultAssignment resultAssignment()
          Result assignment statement
 java.lang.String returnType()
          The return type
 java.lang.String scopedName()
          A scoped name ( .
 MOFScriptStatement scopedNameStatement()
          Scoped name Statement - Assignment or function calls
 void scopedStatement(MOFScriptStatementOwner owner)
          Scoped statement - a statement within curly brackets
 SimpleExpression simpleExpression()
          A simple expression
 java.lang.String simpleName()
          A name without any separators
 MOFScriptStatement singleStatement()
          Single statement
 MOFScriptImport transformationImport()
          Transformation Import
 void transformationImportExtra()
          Rules to support temporary parsing of imports
 TransformationRule transformationRule()
          Transformation rule
 void transformationRuleBody(MOFScriptStatementOwner owner)
          The body of a rule
 void transformationRuleStatements(MOFScriptStatementOwner owner)
          Statements
 java.lang.String type()
          type
 java.lang.String typeName()
          Legal types
 void unprotectedTransformationRuleStatements(MOFScriptStatementOwner owner)
          Unprotected rule statements
 ValueExpression valueExpression()
          valueExpression
 VariableDeclaration variableDeclaration()
          Variable declaration
 VariableDeclaration variableOrConstantDeclaration()
          Variable or constant declarations
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8
Constructor Detail

MofScriptParser

protected MofScriptParser(antlr.TokenBuffer tokenBuf,
                          int k)

MofScriptParser

public MofScriptParser(antlr.TokenBuffer tokenBuf)

MofScriptParser

protected MofScriptParser(antlr.TokenStream lexer,
                          int k)

MofScriptParser

public MofScriptParser(antlr.TokenStream lexer)

MofScriptParser

public MofScriptParser(antlr.ParserSharedInputState state)
Method Detail

mofscriptSpecification

public final MOFScriptSpecification mofscriptSpecification()
                                                    throws antlr.RecognitionException,
                                                           antlr.TokenStreamException
the root of a specification - one or more transformations

Throws:
antlr.RecognitionException
antlr.TokenStreamException

transformationImport

public final MOFScriptImport transformationImport()
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Transformation Import

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mofscriptTransformation

public final MOFScriptTransformation mofscriptTransformation(MOFScriptSpecification spec)
                                                      throws antlr.RecognitionException,
                                                             antlr.TokenStreamException
The root of a transformation

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mofscriptDeclarationExtra

public final MOFScriptTransformation mofscriptDeclarationExtra()
                                                        throws antlr.RecognitionException,
                                                               antlr.TokenStreamException
Rules used for temporary parsing of transformation headers / signatures

Throws:
antlr.RecognitionException
antlr.TokenStreamException

transformationImportExtra

public final void transformationImportExtra()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
Rules to support temporary parsing of imports

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mofscriptTransformationHeader

public final void mofscriptTransformationHeader(MOFScriptSpecification spec,
                                                MOFScriptTransformation transformation)
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
the header (signature) of a transformation

Throws:
antlr.RecognitionException
antlr.TokenStreamException

simpleName

public final java.lang.String simpleName()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
A name without any separators

Throws:
antlr.RecognitionException
antlr.TokenStreamException

importUri

public final java.lang.String importUri()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

mofscriptTransformationBody

public final void mofscriptTransformationBody(MOFScriptSpecification spec,
                                              MOFScriptTransformation transformation)
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
the body of a transformation

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mofscriptModuleDecl

public final java.util.Vector mofscriptModuleDecl(MOFScriptTransformation transformationOwner)
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Module declaration

Throws:
antlr.RecognitionException
antlr.TokenStreamException

extendsSpecification

public final java.lang.String extendsSpecification()
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
Transformation extension

Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableOrConstantDeclaration

public final VariableDeclaration variableOrConstantDeclaration()
                                                        throws antlr.RecognitionException,
                                                               antlr.TokenStreamException
Variable or constant declarations

Throws:
antlr.RecognitionException
antlr.TokenStreamException

transformationRule

public final TransformationRule transformationRule()
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
Transformation rule

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mttModuleParams

public final java.util.Vector mttModuleParams()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Parameters to the transformation

Throws:
antlr.RecognitionException
antlr.TokenStreamException

mttModuleParam

public final MOFScriptParameter mttModuleParam()
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
A single module parameter

Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameterDirection

public final java.lang.String parameterDirection()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
The direction of a parameter

Throws:
antlr.RecognitionException
antlr.TokenStreamException

scopedName

public final java.lang.String scopedName()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
A scoped name ( . )

Throws:
antlr.RecognitionException
antlr.TokenStreamException

variableDeclaration

public final VariableDeclaration variableDeclaration()
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException
Variable declaration

Throws:
antlr.RecognitionException
antlr.TokenStreamException

constantDeclaration

public final VariableDeclaration constantDeclaration()
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException
Constant declaration

Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeName

public final java.lang.String typeName()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Legal types

Throws:
antlr.RecognitionException
antlr.TokenStreamException

valueExpression

public final ValueExpression valueExpression()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
valueExpression

Throws:
antlr.RecognitionException
antlr.TokenStreamException

normalTransformationRule

public final TransformationRule normalTransformationRule()
                                                  throws antlr.RecognitionException,
                                                         antlr.TokenStreamException
A normal transformation rule

Throws:
antlr.RecognitionException
antlr.TokenStreamException

abstractTransformationRule

public final TransformationRule abstractTransformationRule()
                                                    throws antlr.RecognitionException,
                                                           antlr.TokenStreamException
An abstract transformation rule

Throws:
antlr.RecognitionException
antlr.TokenStreamException

context

public final java.lang.String context()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
The context of a rule

Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameters

public final java.util.Vector parameters()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
parameters

Throws:
antlr.RecognitionException
antlr.TokenStreamException

returnType

public final java.lang.String returnType()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
The return type

Throws:
antlr.RecognitionException
antlr.TokenStreamException

transformationRuleBody

public final void transformationRuleBody(MOFScriptStatementOwner owner)
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
The body of a rule

Throws:
antlr.RecognitionException
antlr.TokenStreamException

unprotectedTransformationRuleStatements

public final void unprotectedTransformationRuleStatements(MOFScriptStatementOwner owner)
                                                   throws antlr.RecognitionException,
                                                          antlr.TokenStreamException
Unprotected rule statements

Throws:
antlr.RecognitionException
antlr.TokenStreamException

protectedTransformationRuleStatements

public final void protectedTransformationRuleStatements(MOFScriptStatementOwner owner)
                                                 throws antlr.RecognitionException,
                                                        antlr.TokenStreamException
protceted rule statements

Throws:
antlr.RecognitionException
antlr.TokenStreamException

transformationRuleStatements

public final void transformationRuleStatements(MOFScriptStatementOwner owner)
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
Statements

Throws:
antlr.RecognitionException
antlr.TokenStreamException

escapeStatement

public final java.util.Vector escapeStatement()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Escape statement <% ..... %>

Throws:
antlr.RecognitionException
antlr.TokenStreamException

singleStatement

public final MOFScriptStatement singleStatement()
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
Single statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

ifStatement

public final IfStatement ifStatement()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
If statements

Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalExpression

public final LogicalExpression logicalExpression()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Logical Expressions

Throws:
antlr.RecognitionException
antlr.TokenStreamException

iteratorBody

public final void iteratorBody(MOFScriptStatementOwner statementOwner)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
The body of an iterator

Throws:
antlr.RecognitionException
antlr.TokenStreamException

iteratorStatement

public final IteratorStatement iteratorStatement(SimpleExpression source)
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Iterator statement (FOREACH)

Throws:
antlr.RecognitionException
antlr.TokenStreamException

type

public final java.lang.String type()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
type

Throws:
antlr.RecognitionException
antlr.TokenStreamException

filterSpec

public final LogicalExpression filterSpec()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Filer for an iterator

Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalExpressionPart

public final Expression logicalExpressionPart()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Part of a logical expression

Throws:
antlr.RecognitionException
antlr.TokenStreamException

comparisonExpression

public final Expression comparisonExpression()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Comparison expressions

Throws:
antlr.RecognitionException
antlr.TokenStreamException

booleanLiteral

public final Literal booleanLiteral()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
A boolean literal (true | false)

Throws:
antlr.RecognitionException
antlr.TokenStreamException

andExpression

public final LogicalExpression andExpression()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
AND

Throws:
antlr.RecognitionException
antlr.TokenStreamException

orExpression

public final LogicalExpression orExpression()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
OR

Throws:
antlr.RecognitionException
antlr.TokenStreamException

notExpression

public final LogicalExpression notExpression()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
NOT

Throws:
antlr.RecognitionException
antlr.TokenStreamException

andExpressionPart

public final Expression andExpressionPart()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
AND part

Throws:
antlr.RecognitionException
antlr.TokenStreamException

orExpressionPart

public final Expression orExpressionPart()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
OR

Throws:
antlr.RecognitionException
antlr.TokenStreamException

simpleExpression

public final SimpleExpression simpleExpression()
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
A simple expression

Throws:
antlr.RecognitionException
antlr.TokenStreamException

comparisonOperator

public final ComparisonOperator comparisonOperator()
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
Comparison Operator (= != < > <= >=)

Throws:
antlr.RecognitionException
antlr.TokenStreamException

scopedStatement

public final void scopedStatement(MOFScriptStatementOwner owner)
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Scoped statement - a statement within curly brackets

Throws:
antlr.RecognitionException
antlr.TokenStreamException

printStatement

public final PrintStatement printStatement(java.lang.String context)
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Print statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

scopedNameStatement

public final MOFScriptStatement scopedNameStatement()
                                             throws antlr.RecognitionException,
                                                    antlr.TokenStreamException
Scoped name Statement - Assignment or function calls

Throws:
antlr.RecognitionException
antlr.TokenStreamException

resultAssignment

public final ResultAssignment resultAssignment()
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
Result assignment statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

createStatement

public final CreateStatement createStatement()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Deprecated. 

Create statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

fileStatement

public final FileStatement fileStatement()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
File statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

directPrintStatement

public final PrintStatement directPrintStatement()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Some direct print commands (newline, indent, log..)

Throws:
antlr.RecognitionException
antlr.TokenStreamException

expressionList

public final PrintStatement expressionList()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
List of expressions treated as output printing expressions

Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionCallStatement

public final FunctionCallStatement functionCallStatement(java.lang.String sName)
                                                  throws antlr.RecognitionException,
                                                         antlr.TokenStreamException
Function Call statement

Throws:
antlr.RecognitionException
antlr.TokenStreamException

assignmentPart

public final AssignmentOperator assignmentPart()
                                        throws antlr.RecognitionException,
                                               antlr.TokenStreamException
Assignment part

Throws:
antlr.RecognitionException
antlr.TokenStreamException

generalAssignment

public final GeneralAssignment generalAssignment(java.lang.String sName)
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Normal assignment (to variables)

Throws:
antlr.RecognitionException
antlr.TokenStreamException

printCmd

public final java.lang.String printCmd()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
A print command.

Throws:
antlr.RecognitionException
antlr.TokenStreamException

actualParameters

public final void actualParameters(FunctionCall call)
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
The parameters of a function call

Throws:
antlr.RecognitionException
antlr.TokenStreamException

directPrintCommand

public final java.lang.String directPrintCommand()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Direct print command

Throws:
antlr.RecognitionException
antlr.TokenStreamException

number

public final int number()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
number - an integer number using by the direct print commands

Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameter

public final void parameter(java.util.Vector container)
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
parameter

Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final Literal literal()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
a literal

Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionCallExpression

public final FunctionCall functionCallExpression(java.lang.String sName)
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Function call expression. The expression call part...

Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionOrReference

public final SimpleExpression functionOrReference()
                                           throws antlr.RecognitionException,
                                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

actualParameter

public final ValueExpression actualParameter()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
actual parameter

Throws:
antlr.RecognitionException
antlr.TokenStreamException

realLiteral

public final Literal realLiteral()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Real literal

Throws:
antlr.RecognitionException
antlr.TokenStreamException

integerLiteral

public final Literal integerLiteral()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Integer literal

Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()