00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __UT_VarScan_h__
00022 #define __UT_VarScan_h__
00023
00024 #include "UT_API.h"
00025
00026 class UT_WorkBuffer;
00027
00028 typedef const char *(*UTVarCallback)(const char *str, void *userdata);
00029
00030 UT_API extern int UTVariableScan(UT_WorkBuffer &outstr, const char *instr,
00031 UTVarCallback lookup, void *userdata,
00032 bool tildeexpand = true,
00033 bool commentsexpand = true);
00034 UT_API extern int UTExprVariableScan(UT_WorkBuffer &outstr, const char *instr,
00035 UTVarCallback lookup,
00036 UTVarCallback expreval,
00037 void *userdata,
00038 bool varexpand = true,
00039 bool tildeexpand = true,
00040 bool commentsexpand = true);
00041
00042 #endif