Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Nilsson
OwlCompiler
Commits
7a254438
Commit
7a254438
authored
Nov 30, 2006
by
Anders Nilsson
Browse files
Added copyright notice to all(?) source code files
parent
16a33ab6
Changes
18
Hide whitespace changes
Inline
Side-by-side
CompilerGeneration.jrag
View file @
7a254438
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.*;
import java.util.*;
...
...
DumpClasses.java
View file @
7a254438
// 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
}
DumpClasses.jrag
View file @
7a254438
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.PrintStream;
aspect DumpClasses {
...
...
Dumper.java
View file @
7a254438
/*
* C
reated on 2005-mar-09
/*
* C
opyright (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
}
GenCompiler.java
View file @
7a254438
// 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
;
...
...
JavaCCChunks.jrag
View file @
7a254438
/* -*-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 {");
...
...
Misc.jrag
View file @
7a254438
/* -*-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;
...
...
Names.jrag
View file @
7a254438
/* -*-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();
...
...
Parser.java
View file @
7a254438
/*
* 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
;
...
...
Rewrites.jrag
View file @
7a254438
/* -*-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 ) {
...
...
Types.jrag
View file @
7a254438
/* -*-Java-*- */
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.util.ArrayList;
aspect Types {
...
...
owl.ast
View file @
7a254438
// -*-Java-*-
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
Start ::= Specification;
Specification ::= XmlHeader RdfDeclaration;
...
...
owl.jjt
View file @
7a254438
/*
*
Copyright
(
C
)
2006
Anders
Nilsson
<
anders
.
nilsson
@
cs
.
lth
.
se
>
*
*
This
file
is
part
of
OntologyCompiler
.
*/
options
{
MULTI
=
true
;
VISITOR
=
true
;
...
...
siaras/DumpTree.java
View file @
7a254438
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import
AST.Start
;
public
class
DumpTree
extends
Parser
{
...
...
siaras/PrettyPrinter.java
View file @
7a254438
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import
AST.Start
;
public
class
PrettyPrinter
extends
Parser
{
...
...
siaras/Siaras.jjt
View file @
7a254438
/*
*
Copyright
(
C
)
2006
Anders
Nilsson
<
anders
.
nilsson
@
cs
.
lth
.
se
>
*
*
This
file
is
part
of
OntologyCompiler
.
*/
options
{
MULTI
=
true
;
VISITOR
=
true
;
...
...
siaras/Statistics.java
View file @
7a254438
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import
AST.Start
;
public
class
Statistics
extends
Parser
{
...
...
siaras/Statistics.jrag
View file @
7a254438
/*
* Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
*
* This file is part of OntologyCompiler.
*/
import java.io.PrintStream;
aspect Statistics {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment