3N/A/*
3N/A * CDDL HEADER START
3N/A *
3N/A * The contents of this file are subject to the terms of the
38N/A * Common Development and Distribution License (the "License").
3N/A * You may not use this file except in compliance with the License.
3N/A *
3N/A * See LICENSE.txt included in this distribution for the specific
3N/A * language governing permissions and limitations under the License.
3N/A *
3N/A * When distributing Covered Code, include this CDDL HEADER in each
3N/A * file and include the License file at LICENSE.txt.
3N/A * If applicable, add the following below this CDDL HEADER, with the
3N/A * fields enclosed by brackets "[]" replaced with your own identifying
3N/A * information: Portions Copyright [yyyy] [name of copyright owner]
3N/A *
3N/A * CDDL HEADER END
3N/A */
3N/A
3N/A/*
3N/A * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3N/A * Use is subject to license terms.
3N/A */
38N/Apackage org.opensolaris.opengrok.analysis.lisp;
3N/A
4N/Aimport java.util.HashSet;
421N/Aimport java.util.Set;
3N/A
3N/A/**
38N/A * Holds static hash set containing Lisp keywords
3N/A */
38N/Apublic class Consts {
421N/A public static final Set<String> kwd = new HashSet<String>();
3N/A static {
38N/A kwd.add("and");
38N/A kwd.add("assert");
38N/A kwd.add("case");
38N/A kwd.add("cond");
38N/A kwd.add("define");
38N/A kwd.add("defparameter");
38N/A kwd.add("defstruct");
38N/A kwd.add("defun");
38N/A kwd.add("defvar");
38N/A kwd.add("do");
38N/A kwd.add("do");
38N/A kwd.add("do*");
38N/A kwd.add("dolist");
38N/A kwd.add("dotimes");
38N/A kwd.add("ecase");
38N/A kwd.add("else");
38N/A kwd.add("error");
38N/A kwd.add("etypecase");
38N/A kwd.add("flet");
38N/A kwd.add("handler-bind");
38N/A kwd.add("handler-case");
38N/A kwd.add("if");
38N/A kwd.add("labels");
38N/A kwd.add("let");
38N/A kwd.add("let*");
38N/A kwd.add("loop");
38N/A kwd.add("nil");
38N/A kwd.add("not");
38N/A kwd.add("or");
38N/A kwd.add("otherwise");
38N/A kwd.add("t");
38N/A kwd.add("typecase");
38N/A kwd.add("unless");
38N/A kwd.add("when");
38N/A kwd.add("xor");
3N/A }
3N/A}