/Users/ericb/Desktop/SRC680_m247/starmath/source/parse.cxx File Reference

#include "precompiled_starmath.hxx"
#include <stdio.h>
#include <com/sun/star/i18n/UnicodeType.hpp>
#include <i18npool/lang.h>
#include <unotools/charclass.hxx>
#include <svx/unolingu.hxx>
#include <svtools/syslocale.hxx>
#include "parse.hxx"
#include "starmath.hrc"
#include "smdll.hxx"
#include "smmod.hxx"
#include "config.hxx"
#include "node.hxx"

Include dependency graph for parse.cxx:

Go to the source code of this file.

Classes

struct  SmTokenTableEntry

Defines

#define SMDLL   1

Functions

static BOOL strnccmp (const String &u1, xub_StrLen nIdx, const sal_Char *s2, xub_StrLen nLen)
static BOOL IsDigit (sal_Unicode cChar)
static const SmTokenTableEntryGetTokenTableEntry (const String &rName)
BOOL lcl_IsNumber (const UniString &rText)

Variables

static const sal_Unicode aDelimiterTable []
static const SmTokenTableEntry aTokenTable []
const sal_Int32 coStartFlags
const sal_Int32 coContFlags
const sal_Int32 coNumStartFlags
const sal_Int32 coNumContFlags


Define Documentation

#define SMDLL   1

Definition at line 42 of file parse.cxx.


Function Documentation

static const SmTokenTableEntry* GetTokenTableEntry ( const String &  rName  )  [static]

Definition at line 365 of file parse.cxx.

References aTokenTable.

Referenced by SmParser::NextToken().

static BOOL IsDigit ( sal_Unicode  cChar  )  [inline, static]

Definition at line 97 of file parse.cxx.

Referenced by lcl_IsNumber(), and SmParser::NextToken().

BOOL lcl_IsNumber ( const UniString &  rText  ) 

Definition at line 1900 of file parse.cxx.

References IsDigit().

Referenced by SmParser::FontSize().

static BOOL strnccmp ( const String &  u1,
xub_StrLen  nIdx,
const sal_Char *  s2,
xub_StrLen  nLen 
) [inline, static]

Definition at line 82 of file parse.cxx.


Variable Documentation

const sal_Unicode aDelimiterTable[] [static]

Initial value:

{
        ' ',    '\t',   '\n',   '\r',   '+',    '-',    '*',    '/',    '=',    '#',
        '%',    '\\',   '"',    '~',    '`',    '>',    '<',    '&',    '|',    '(',
        ')',    '{',    '}',    '[',    ']',    '^',    '_',
        '\0'    
}

Definition at line 88 of file parse.cxx.

const SmTokenTableEntry aTokenTable[] [static]

Definition at line 122 of file parse.cxx.

Referenced by GetTokenTableEntry().

const sal_Int32 coContFlags

Initial value:

    ( coStartFlags | KParseTokens::ASC_DOT ) & ~KParseTokens::IGNORE_LEADING_WS
    | KParseTokens::TWO_DOUBLE_QUOTES_BREAK_STRING

Definition at line 443 of file parse.cxx.

const sal_Int32 coNumContFlags

Initial value:

    ( coNumStartFlags | KParseTokens::ASC_DOT ) & ~KParseTokens::IGNORE_LEADING_WS

Definition at line 453 of file parse.cxx.

const sal_Int32 coNumStartFlags

Initial value:

        KParseTokens::ASC_DIGIT |
        KParseTokens::ASC_DOT |
        KParseTokens::IGNORE_LEADING_WS

Definition at line 448 of file parse.cxx.

const sal_Int32 coStartFlags

Initial value:

                KParseTokens::ANY_LETTER_OR_NUMBER |
                KParseTokens::IGNORE_LEADING_WS

Definition at line 438 of file parse.cxx.


Generated on Wed Feb 20 17:22:40 2008 for maths by  doxygen 1.5.1