Skip to content

Commit 76dbe4b

Browse files
committed
Jmol-specific legacy transpiler
1 parent 9d62921 commit 76dbe4b

11 files changed

+3284
-2
lines changed

sources/net.sf.j2s.core/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ bin.includes = META-INF/,\
66
schema/
77
src.includes = META-INF/,\
88
plugin.xml
9-
javacSource = 1.3
10-
javacTarget = 1.2
9+
javacSource = 1.7
10+
javacTarget = 1.7
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2007 java2script.org and others.
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
7+
*
8+
* Contributors:
9+
* Zhou Renjian - initial API and implementation
10+
*******************************************************************************/
11+
12+
package j2s.common;
13+
14+
import j2s.common.ASTScriptVisitor;
15+
import j2s.common.DependencyASTVisitor;
16+
17+
/**
18+
* @author zhou renjian
19+
*
20+
* 2006-10-26
21+
*/
22+
public class ASTExtendedVisitor implements IExtendedVisitor {
23+
/* (non-Javadoc)
24+
* @see j2s.common.IExtendedVisitor#getScriptVisitor()
25+
*/
26+
public ASTScriptVisitor getScriptVisitor() {
27+
return new ASTScriptVisitor();
28+
}
29+
/* (non-Javadoc)
30+
* @see j2s.common.IExtendedVisitor#getDependencyVisitor()
31+
*/
32+
public DependencyASTVisitor getDependencyVisitor() {
33+
return new DependencyASTVisitor();
34+
}
35+
}

0 commit comments

Comments
 (0)