diff --git a/CompilerGeneration.jrag b/CompilerGeneration.jrag index 30968e841caa05d1507f7ba9a4ccb724c06c1d1d..0c32a55c03d7d36a9f0062a91eeaa33a49cbfd62 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 3e01c60ffca0d3228d8a3a12c78de38600d0daf0..fa9dcac24dd4291417210d49dbca750267aa6eca 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 c51ba010e82908c3494775017a104e1f888ebeea..8cc2d12332ec23198ce62fa25ab2c3884b17e45e 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 349c443081cd95b78eefc9e4ac4ad99d249d87dc..879deac3a69e6cd829fcdc06251a54688813fc8b 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 2582d7aa1336059750996514fbb536c7100e56db..973ab1b9f6c4c72d022cb4a243e2e8086784d03c 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 41a7ff7f2703e761460930a1116d3bf696d9a806..0d0882bd67dafd4e93e69309bc6d3250bd4f9964 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 a10da15cac0925fe84e720fe2d5923ca212c8e4d..74f389cc26ae090f577be5f859c37af07b3f3d53 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 bf6ebf3fe9f41cdcc1b45d03ff750b4037ba3c6a..3d0e59ac6cd148e1abba5a65cf096eb6e37f3cd8 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 2ab9a354040c8d5a5348109afb96c455acc72e73..054ac03cc0ea818d0bc55ad7d328e69c16b2f608 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 9e91535f411b77ebdb629248376766230ca7a364..034dc878182186fa8f40556a77ed50f42da9da02 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 02ede7c575c0ef9b87ba10bc4674e199b098f4df..df8664231fe7971c5cbc302d8abfe3b9ea4b1713 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 151d9e4a4236250bd630b79f78359c6804fb45c8..fa954b2ffa142822a00f7453790d2117c67e6866 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 c0d1873292c983bc098193044938a5a296564ae5..f8552348de113abf1059d348e9b7d0b3ac6fc837 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 deaea5b5c09e5d4ec4eea3a97885d993bcd7e92d..6e22094f5ff2e94a690e289d10b7c1ba68405378 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 84e4ea38517eea110e787db32a3c02a107a67299..3ca260ad45c92044bfa8d3480725fd94e011ae8e 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 d7055f9997e5bb284595b957a701bf513ba6d0e4..81d4620a88d5f1b3989626bfc677212040bc5f68 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 3cf39feee12d960d9ac2dbee04f823551560a4e1..4ab70f207f50be475a3f879a0c1beb4a055a30fc 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 1bac08329be79f9b6e7816b41ffd47e9fe36bc16..b1d984fd70c56fd0dd93a269d575aac22f8fe8aa 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 {