pt.ist.fenixframework.dml
Class DmlTreeParser

Package class diagram package DmlTreeParser
java.lang.Object
  extended by antlr.TreeParser
      extended by pt.ist.fenixframework.dml.DmlTreeParser
All Implemented Interfaces:
DmlTreeParserTokenTypes

public class DmlTreeParser
extends antlr.TreeParser
implements DmlTreeParserTokenTypes


Field Summary
static String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
 
Fields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth
 
Fields inherited from interface pt.ist.fenixframework.dml.DmlTreeParserTokenTypes
ABSOLUTE_NAME, ANN_NAME, ANNOTATIONS, CLASS_DEF, COLON, COMMA, DOMAIN_DEFS, DOT, ENUM_TYPE, EOF, EXTENDS_CLAUSE, EXTERNAL, EXTERNALIZATION_CLAUSE, EXTERNALIZATION_ELEMENT, IDENT, IMPLEMENTS_CLAUSE, INDEXED, INT_NUMBER, INTERNALIZATION_CLAUSE, LANGLE, LCURLY, LITERAL_as, LITERAL_by, LITERAL_class, LITERAL_enum, LITERAL_extends, LITERAL_external, LITERAL_externalizeWith, LITERAL_implements, LITERAL_indexed, LITERAL_internalizeWith, LITERAL_multiplicity, LITERAL_ordered, LITERAL_package, LITERAL_playsRole, LITERAL_relation, LITERAL_REQUIRED, LITERAL_super, LITERAL_valueType, LPAREN, ML_COMMENT, MULT_RANGE, MULTIPLICITY, MULTIPLICITY_RANGE, NULL_TREE_LOOKAHEAD, OBJBLOCK, ORDERED, PACKAGE, QUESTION, RANGLE, RCURLY, RELATION_BLOCK, RELATION_DEF, REQUIRED_OPTION, ROLE, ROLE_NAME, ROLE_OPTIONS, RPAREN, SEMI, SL_COMMENT, SLOT_DEF, SLOT_OPTIONS, STAR, STRING_LITERAL, TYPE, VALUE_TYPE, VALUE_TYPE_BLOCK, VOCAB, WILDCARD, WILDCARD_EXTENDS, WILDCARD_SUPER, WS
 
Constructor Summary
DmlTreeParser()
           
 
Method Summary
 void annotations(antlr.collections.AST _t, Slot slotDef)
           
 void classBlock(antlr.collections.AST _t, DomainModel model, DomainClass domClass)
           
 Slot classSlot(antlr.collections.AST _t, DomainModel model)
           
 String domainDefinition(antlr.collections.AST _t, DomainModel model, String packageName, URL sourceFile)
           
 void domainDefinitions(antlr.collections.AST _t, DomainModel model, URL sourceFile)
           
 String entityTypeIdentifier(antlr.collections.AST _t, String packageName)
           
 void externalizationClause(antlr.collections.AST _t, DomainModel model, ValueType valueType)
           
 void externalizationElement(antlr.collections.AST _t, DomainModel model, ValueType valueType)
           
 String identifier(antlr.collections.AST _t)
           
 List implementsClause(antlr.collections.AST _t, String packageName)
           
 void internalizationClause(antlr.collections.AST _t, DomainModel model, ValueType valueType)
           
 int multiplicityBound(antlr.collections.AST _t)
           
 void relationBlock(antlr.collections.AST _t, DomainModel model, DomainRelation domRelation, String packageName)
           
 void relationRolesAndSlots(antlr.collections.AST _t, DomainModel model, DomainRelation domRelation, String packageName)
           
 Role role(antlr.collections.AST _t, DomainModel model, String packageName)
           
 String roleName(antlr.collections.AST _t)
           
 void roleOption(antlr.collections.AST _t, Role roleDef)
           
 void roleOptions(antlr.collections.AST _t, Role roleDef)
           
 void slotOption(antlr.collections.AST _t, Slot slotDef)
           
 void slotOptions(antlr.collections.AST _t, Slot slotDef)
           
 String superClassClause(antlr.collections.AST _t, String packageName)
           
 String typeArgument(antlr.collections.AST _t)
           
 String typeArguments(antlr.collections.AST _t)
           
 ValueType typeSpec(antlr.collections.AST _t, DomainModel model, boolean create)
           
 String typeSpecAsString(antlr.collections.AST _t)
           
 void valueTypeBlock(antlr.collections.AST _t, DomainModel model, ValueType valueType)
           
 String wildcard(antlr.collections.AST _t)
           
 String wildcardBounds(antlr.collections.AST _t)
           
 
Methods inherited from class antlr.TreeParser
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final String[] _tokenNames

_tokenSet_0

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

DmlTreeParser

public DmlTreeParser()
Method Detail

domainDefinitions

public final void domainDefinitions(antlr.collections.AST _t,
                                    DomainModel model,
                                    URL sourceFile)
                             throws antlr.RecognitionException
Throws:
antlr.RecognitionException

domainDefinition

public final String domainDefinition(antlr.collections.AST _t,
                                     DomainModel model,
                                     String packageName,
                                     URL sourceFile)
                              throws antlr.RecognitionException
Throws:
antlr.RecognitionException

entityTypeIdentifier

public final String entityTypeIdentifier(antlr.collections.AST _t,
                                         String packageName)
                                  throws antlr.RecognitionException
Throws:
antlr.RecognitionException

superClassClause

public final String superClassClause(antlr.collections.AST _t,
                                     String packageName)
                              throws antlr.RecognitionException
Throws:
antlr.RecognitionException

implementsClause

public final List implementsClause(antlr.collections.AST _t,
                                   String packageName)
                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

classBlock

public final void classBlock(antlr.collections.AST _t,
                             DomainModel model,
                             DomainClass domClass)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

identifier

public final String identifier(antlr.collections.AST _t)
                        throws antlr.RecognitionException
Throws:
antlr.RecognitionException

typeSpec

public final ValueType typeSpec(antlr.collections.AST _t,
                                DomainModel model,
                                boolean create)
                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

valueTypeBlock

public final void valueTypeBlock(antlr.collections.AST _t,
                                 DomainModel model,
                                 ValueType valueType)
                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

relationBlock

public final void relationBlock(antlr.collections.AST _t,
                                DomainModel model,
                                DomainRelation domRelation,
                                String packageName)
                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

classSlot

public final Slot classSlot(antlr.collections.AST _t,
                            DomainModel model)
                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

slotOptions

public final void slotOptions(antlr.collections.AST _t,
                              Slot slotDef)
                       throws antlr.RecognitionException
Throws:
antlr.RecognitionException

annotations

public final void annotations(antlr.collections.AST _t,
                              Slot slotDef)
                       throws antlr.RecognitionException
Throws:
antlr.RecognitionException

slotOption

public final void slotOption(antlr.collections.AST _t,
                             Slot slotDef)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

externalizationClause

public final void externalizationClause(antlr.collections.AST _t,
                                        DomainModel model,
                                        ValueType valueType)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

internalizationClause

public final void internalizationClause(antlr.collections.AST _t,
                                        DomainModel model,
                                        ValueType valueType)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

externalizationElement

public final void externalizationElement(antlr.collections.AST _t,
                                         DomainModel model,
                                         ValueType valueType)
                                  throws antlr.RecognitionException
Throws:
antlr.RecognitionException

relationRolesAndSlots

public final void relationRolesAndSlots(antlr.collections.AST _t,
                                        DomainModel model,
                                        DomainRelation domRelation,
                                        String packageName)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

role

public final Role role(antlr.collections.AST _t,
                       DomainModel model,
                       String packageName)
                throws antlr.RecognitionException
Throws:
antlr.RecognitionException

roleName

public final String roleName(antlr.collections.AST _t)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

roleOptions

public final void roleOptions(antlr.collections.AST _t,
                              Role roleDef)
                       throws antlr.RecognitionException
Throws:
antlr.RecognitionException

roleOption

public final void roleOption(antlr.collections.AST _t,
                             Role roleDef)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

multiplicityBound

public final int multiplicityBound(antlr.collections.AST _t)
                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

typeArguments

public final String typeArguments(antlr.collections.AST _t)
                           throws antlr.RecognitionException
Throws:
antlr.RecognitionException

typeArgument

public final String typeArgument(antlr.collections.AST _t)
                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

typeSpecAsString

public final String typeSpecAsString(antlr.collections.AST _t)
                              throws antlr.RecognitionException
Throws:
antlr.RecognitionException

wildcard

public final String wildcard(antlr.collections.AST _t)
                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

wildcardBounds

public final String wildcardBounds(antlr.collections.AST _t)
                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException


Copyright © 2013. All Rights Reserved.