Gitlab service upgraded. Please report any problems to dl_gitadmin@cs.lth.se

Commit 7a254438 authored by Anders Nilsson's avatar Anders Nilsson

Added copyright notice to all(?) source code files

parent 16a33ab6
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.*;
import java.util.*;
......
// package programs;
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import AST.Start;
public class DumpClasses extends Parser {
......@@ -13,4 +19,4 @@ public class DumpClasses extends Parser {
// implemented. AndersN 060210
ast.dumpClasses(System.out);
}
}
\ No newline at end of file
}
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.PrintStream;
aspect DumpClasses {
......
/*
* Created on 2005-mar-09
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
// package programs;
import AST.Start;
......@@ -13,4 +14,4 @@ public class Dumper extends Parser {
// Dump the AST
ast.dumpTree(" ", System.out);
}
}
\ No newline at end of file
}
// package programs;
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import AST.Start;
import java.io.File;
import java.io.PrintStream;
......
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
aspect JavaCCChunks {
void Start.genJavaCCHeader(PrintStream pStream) {
pStream.println("options {");
......
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
aspect Misc {
syn Start ASTNode.goStart() = getParent().goStart();
eq Start.goStart() = this;
......
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
aspect Names {
syn String OClass.name() = getId();
syn String OwlRestriction.name() = getRestrictionClassId();
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.InputStreamReader;
......
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
aspect MiscUtilities {
boolean Element.isTopLevel() {
if ( getParent() != null ) {
......
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.util.ArrayList;
aspect Types {
......
// -*-Java-*-
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
Start ::= Specification;
Specification ::= XmlHeader RdfDeclaration;
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
options {
MULTI = true;
VISITOR = true;
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import AST.Start;
public class DumpTree extends Parser {
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import AST.Start;
public class PrettyPrinter extends Parser {
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
options {
MULTI = true;
VISITOR = true;
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import AST.Start;
public class Statistics extends Parser {
......
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.PrintStream;
aspect Statistics {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment