/usr/share/doc/jflex/examples/interpreter/SymtabEntry.java is in jflex 1.6.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright (C) 2001 Gerwin Klein <lsf@jflex.de> *
* Copyright (C) 2001 Bernhard Rumpe <rumpe@in.tum.de> *
* All rights reserved. *
* *
* License: BSD *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/**
* Symbol table entry for names, there are subclasses for
* variables and functions.
*
* Defines constants UNKNOWN, VAR und FUN as kinds of
* symbol table entries.
*/
class SymtabEntry {
String name;
public SymtabEntry(String v) {
name=v;
}
public int kind() {
return UNKNOWN;
}
public String toString() {
return("unknown "+name);
}
static final int UNKNOWN = 12;
static final int VAR = 13;
static final int FUN = 14;
}
|