The R Project SVN R-packages

Rev

Rev 5705 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5705 urbaneks 1
/*
2
 *  R.app : a Cocoa front end to: "R A Computer Language for Statistical Data Analysis"
3
 *  
4
 *  R.app Copyright notes:
5
 *                     Copyright (C) 2004-5  The R Foundation
6
 *                     written by Stefano M. Iacus and Simon Urbanek
7
 *
8
 *                  
9
 *  R Copyright notes:
10
 *                     Copyright (C) 1995-1996   Robert Gentleman and Ross Ihaka
11
 *                     Copyright (C) 1998-2001   The R Development Core Team
12
 *                     Copyright (C) 2002-2004   The R Foundation
13
 *
14
 *  This program is free software; you can redistribute it and/or modify
15
 *  it under the terms of the GNU General Public License as published by
16
 *  the Free Software Foundation; either version 2 of the License, or
17
 *  (at your option) any later version.
18
 *
19
 *  This program is distributed in the hope that it will be useful,
20
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
21
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
 *  GNU General Public License for more details.
23
 *
24
 *  A copy of the GNU General Public License is available via WWW at
25
 *  http://www.gnu.org/copyleft/gpl.html.  You can also obtain it by
26
 *  writing to the Free Software Foundation, Inc., 59 Temple Place,
27
 *  Suite 330, Boston, MA  02111-1307  USA.
28
 *
29
 *  RScriptEditorTokens.h
30
 *
31
 *  Created by Hans-J. Bibiko on 15/02/2011.
32
 *
33
 *  This file defines all the tokens used for syntax highlighting R code
34
 *  via a lexer.
35
 *
36
 */
37
 
38
#define RPT_DOUBLE_QUOTED_TEXT   1
39
#define RPT_SINGLE_QUOTED_TEXT   2
40
#define RPT_COMMENT              3
41
#define RPT_BACKTICK_QUOTED_TEXT 4
42
#define RPT_RESERVED_WORD        5
43
#define RPT_WHITESPACE           6
44
#define RPT_NUMERIC              7
45
#define RPT_VARIABLE             8
46
#define RPT_WORD                 9
47
#define RPT_OTHER               10
5713 urbaneks 48
#define RPT_OPERATOR            11
49
#define RPT_DECLARATION         12