blob: fcb273a857fbb9dd53955284ca8d24a782225657 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2005, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id$
using System;
namespace scala.runtime
{
/// <summary>
/// Stores the symbol table for every top-level Scala class.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class SymtabAttribute : Attribute
{
// stores scalac symbol table
public readonly byte[] symtab;
// indicates if the type should be considered by the compiler;
// used for synthetic classes introduced by the Scala compiler
public readonly bool shouldLoadClass;
public SymtabAttribute(byte[] symtab)
{
this.symtab = symtab;
this.shouldLoadClass = true;
}
public SymtabAttribute() {
this.symtab = new byte[0];
this.shouldLoadClass = false;
}
}
}
|