|
|
|
|
org.eclipse.jet.core.parser.ast
Class JETASTParser
java.lang.Object
org.eclipse.jet.core.parser.ast.JETASTParser
-
All Implemented Interfaces:
-
IJETParser, org.eclipse.jet.internal.core.parser.IJETParser2
-
public final class JETASTParser
- extends java.lang.Object
- implements
IJETParser, org.eclipse.jet.internal.core.parser.IJETParser2
Parser for creating JET ASTs
-
Since:
- 0.8.0
Method Summary
|
java.lang.Object
|
parse
(char[] template)
Parse contents as a JET template |
java.lang.Object
|
parse
(char[] template,
java.lang.String templatePath)
Parse contents as a JET template |
java.lang.Object
|
parse
(java.lang.String templatePath)
Parse the named input template |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
parse
public java.lang.Object parse(java.lang.String templatePath)
-
Description copied from interface:
IJETParser
- Parse the named input template
-
-
Specified by:
-
parse
in interface
IJETParser
-
-
Parameters:
-
templatePath - the template Path
-
Returns:
- the root of the AST
parse
public java.lang.Object parse(char[] template)
-
Description copied from interface:
IJETParser
- Parse contents as a JET template
-
-
Specified by:
-
parse
in interface
IJETParser
-
-
Parameters:
-
template - the template
-
Returns:
- the root of the AST
parse
public java.lang.Object parse(char[] template,
java.lang.String templatePath)
-
Description copied from interface:
org.eclipse.jet.internal.core.parser.IJETParser2
- Parse contents as a JET template
-
-
Specified by:
-
parse in interface org.eclipse.jet.internal.core.parser.IJETParser2
-
-
Parameters:
-
template - the template -
templatePath - the templatePath corresponding to the content of null if unknown
-
Returns:
- the root of the AST
|
|
|