The R Project SVN R

Rev

Rev 83455 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83455 Rev 87944
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1998-2018 R Core Team
3
 *  Copyright (C) 1998-2025 R Core Team
4
 *
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU General Public License as published by
6
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 2 of the License, or
7
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 35... Line 35...
35
 
35
 
36
typedef struct SrcRefState SrcRefState;
36
typedef struct SrcRefState SrcRefState;
37
 
37
 
38
struct SrcRefState {
38
struct SrcRefState {
39
 
39
 
40
    Rboolean keepSrcRefs;	/* Whether to attach srcrefs to objects as they are parsed */
40
    bool keepSrcRefs;	/* Whether to attach srcrefs to objects as they are parsed */
41
    Rboolean keepParseData;	/* Whether to attach also parse data to srcrefs */
41
    bool keepParseData;	/* Whether to attach also parse data to srcrefs */
42
    Rboolean didAttach;		/* Record of whether a srcref was attached */
42
    bool didAttach;		/* Record of whether a srcref was attached */
43
    SEXP data;			/* Parse data as in sexps, also here for performance */
43
    SEXP data;			/* Parse data as in sexps, also here for performance */
44
    SEXP sexps;
44
    SEXP sexps;
45
	/* SrcRefs */
45
	/* SrcRefs */
46
	/* SrcFile		The srcfile object currently being parsed */
46
	/* SrcFile		The srcfile object currently being parsed */
47
	/* Original		The underlying srcfile object */
47
	/* Original		The underlying srcfile object */