From 7a25443838ff7b4db6e2026dea3610e55f9f2ab7 Mon Sep 17 00:00:00 2001 From: Anders Nilsson <anders.nilsson@cs.lth.se> Date: Thu, 30 Nov 2006 10:53:25 +0100 Subject: [PATCH] Added copyright notice to all(?) source code files --- CompilerGeneration.jrag | 6 ++++++ DumpClasses.java | 8 +++++++- DumpClasses.jrag | 6 ++++++ Dumper.java | 9 +++++---- GenCompiler.java | 6 ++++++ JavaCCChunks.jrag | 6 ++++++ Misc.jrag | 7 +++++++ Names.jrag | 6 ++++++ Parser.java | 6 ++++++ Rewrites.jrag | 6 ++++++ Types.jrag | 6 ++++++ owl.ast | 7 +++++++ owl.jjt | 7 +++++++ siaras/DumpTree.java | 6 ++++++ siaras/PrettyPrinter.java | 6 ++++++ siaras/Siaras.jjt | 7 +++++++ siaras/Statistics.java | 6 ++++++ siaras/Statistics.jrag | 6 ++++++ 18 files changed, 112 insertions(+), 5 deletions(-) diff --git a/CompilerGeneration.jrag b/CompilerGeneration.jrag index 30968e8..0c32a55 100644 --- a/CompilerGeneration.jrag +++ b/CompilerGeneration.jrag @@ -1,5 +1,11 @@ /* -*-Java-*- */ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import java.io.*; import java.util.*; diff --git a/DumpClasses.java b/DumpClasses.java index 3e01c60..fa9dcac 100644 --- a/DumpClasses.java +++ b/DumpClasses.java @@ -1,5 +1,11 @@ // 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 +} diff --git a/DumpClasses.jrag b/DumpClasses.jrag index c51ba01..8cc2d12 100644 --- a/DumpClasses.jrag +++ b/DumpClasses.jrag @@ -1,5 +1,11 @@ /* -*-Java-*- */ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import java.io.PrintStream; aspect DumpClasses { diff --git a/Dumper.java b/Dumper.java index 349c443..879deac 100644 --- a/Dumper.java +++ b/Dumper.java @@ -1,8 +1,9 @@ -/* - * 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 +} diff --git a/GenCompiler.java b/GenCompiler.java index 2582d7a..973ab1b 100644 --- a/GenCompiler.java +++ b/GenCompiler.java @@ -1,5 +1,11 @@ // 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; diff --git a/JavaCCChunks.jrag b/JavaCCChunks.jrag index 41a7ff7..0d0882b 100644 --- a/JavaCCChunks.jrag +++ b/JavaCCChunks.jrag @@ -1,5 +1,11 @@ /* -*-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 {"); diff --git a/Misc.jrag b/Misc.jrag index a10da15..74f389c 100644 --- a/Misc.jrag +++ b/Misc.jrag @@ -1,5 +1,12 @@ /* -*-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; diff --git a/Names.jrag b/Names.jrag index bf6ebf3..3d0e59a 100644 --- a/Names.jrag +++ b/Names.jrag @@ -1,5 +1,11 @@ /* -*-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(); diff --git a/Parser.java b/Parser.java index 2ab9a35..054ac03 100644 --- a/Parser.java +++ b/Parser.java @@ -1,4 +1,10 @@ +/* + * 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; diff --git a/Rewrites.jrag b/Rewrites.jrag index 9e91535..034dc87 100644 --- a/Rewrites.jrag +++ b/Rewrites.jrag @@ -1,5 +1,11 @@ /* -*-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 ) { diff --git a/Types.jrag b/Types.jrag index 02ede7c..df86642 100644 --- a/Types.jrag +++ b/Types.jrag @@ -1,5 +1,11 @@ /* -*-Java-*- */ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import java.util.ArrayList; aspect Types { diff --git a/owl.ast b/owl.ast index 151d9e4..fa954b2 100644 --- a/owl.ast +++ b/owl.ast @@ -1,4 +1,11 @@ // -*-Java-*- + +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + Start ::= Specification; Specification ::= XmlHeader RdfDeclaration; diff --git a/owl.jjt b/owl.jjt index c0d1873..f855234 100644 --- a/owl.jjt +++ b/owl.jjt @@ -1,3 +1,10 @@ + +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + options { MULTI = true; VISITOR = true; diff --git a/siaras/DumpTree.java b/siaras/DumpTree.java index deaea5b..6e22094 100644 --- a/siaras/DumpTree.java +++ b/siaras/DumpTree.java @@ -1,4 +1,10 @@ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import AST.Start; public class DumpTree extends Parser { diff --git a/siaras/PrettyPrinter.java b/siaras/PrettyPrinter.java index 84e4ea3..3ca260a 100644 --- a/siaras/PrettyPrinter.java +++ b/siaras/PrettyPrinter.java @@ -1,4 +1,10 @@ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import AST.Start; public class PrettyPrinter extends Parser { diff --git a/siaras/Siaras.jjt b/siaras/Siaras.jjt index d7055f9..81d4620 100644 --- a/siaras/Siaras.jjt +++ b/siaras/Siaras.jjt @@ -1,3 +1,10 @@ + +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + options { MULTI = true; VISITOR = true; diff --git a/siaras/Statistics.java b/siaras/Statistics.java index 3cf39fe..4ab70f2 100644 --- a/siaras/Statistics.java +++ b/siaras/Statistics.java @@ -1,4 +1,10 @@ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import AST.Start; public class Statistics extends Parser { diff --git a/siaras/Statistics.jrag b/siaras/Statistics.jrag index 1bac083..b1d984f 100644 --- a/siaras/Statistics.jrag +++ b/siaras/Statistics.jrag @@ -1,4 +1,10 @@ +/* + * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> + * + * This file is part of OntologyCompiler. + */ + import java.io.PrintStream; aspect Statistics { -- GitLab