Beispiel #1
0
        protected virtual object GetObject(string token)
        {
            object ret = null;

            switch (token)
            {
            case TOKEN_INSTANCE:
            case TOKEN_INSTANCES:
            case TOKEN_DECLARATION:
            case TOKEN_DECLARATIONS:
            case TOKEN_PROPERTIES:

            case TOKEN_PROPERTY:
            case TOKEN_NAME:
            case TOKEN_CLAVEOBJETO:
            case TOKEN_SPSELECT:
            case TOKEN_SPINSERT:
            case TOKEN_SPUPDATE:
            case TOKEN_SPDELETE:

            case TOKEN_PROPTYPEPARAMS:
            case TOKEN_PROPNAME:
            case TOKEN_PROPTYPE:
            case TOKEN_FIELDNAME:
            case TOKEN_FIELPREFIX:

            default:
                if (ExtendedInfo.Contains(token))
                {
                    ret = ExtendedInfo[token];
                }
                else
                {
                    ret = new Token(token);
                }
                break;
            }

            return(ret);
        }