|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtl.parser.MTLParser
public class MTLParser
The main class of the MTL Parser. Creates an AST from a list of MTL files, using a CST step. You just have to launch the 'parse' method...
| Constructor Summary | |
|---|---|
MTLParser()
|
|
| Method Summary | |
|---|---|
MTLParserProblems |
getProblems(java.io.File file)
Gets the parsing problems of the given file. |
void |
parse(java.util.List<java.io.File> inputFiles,
java.util.List<org.eclipse.emf.common.util.URI> outputURIs,
java.util.List<org.eclipse.emf.common.util.URI> dependenciesURIs)
Creates an AST from a list of MTL files, using a CST step. |
void |
parse(MTLSourceBuffer source,
org.eclipse.emf.ecore.resource.Resource resource,
java.util.List<org.eclipse.emf.common.util.URI> dependenciesURIs)
Creates an AST from a list of MTL files, using a CST step. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTLParser()
| Method Detail |
|---|
public void parse(java.util.List<java.io.File> inputFiles,
java.util.List<org.eclipse.emf.common.util.URI> outputURIs,
java.util.List<org.eclipse.emf.common.util.URI> dependenciesURIs)
Assert inputFiles.size() == outputURIs.size()
inputFiles - are the files to parseoutputURIs - are the URIs of the output files to createdependenciesURIs - URIs of the dependencies that need to be loaded before link resolution
public void parse(MTLSourceBuffer source,
org.eclipse.emf.ecore.resource.Resource resource,
java.util.List<org.eclipse.emf.common.util.URI> dependenciesURIs)
Assert inputFiles.size() == outputURIs.size()
source - is the source to parseresource - where the AST will be storeddependenciesURIs - URIs of the dependencies that need to be loaded before link resolutionpublic MTLParserProblems getProblems(java.io.File file)
file - is the parsed file
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||