net.jangaroo.jooc
Class JangarooParser
java.lang.Object
net.jangaroo.jooc.JangarooParser
- Direct Known Subclasses:
- Jooc
public class JangarooParser
- extends Object
|
Method Summary |
protected static void |
declareValues(Scope scope,
String[] identifiers)
|
static CompilationUnit |
doParse(InputSource in,
CompileLog log,
SemicolonInsertionMode semicolonInsertionMode)
|
static CompilerError |
error(AstNode node,
String msg)
|
static CompilerError |
error(FilePosition symbol,
String msg)
|
static CompilerError |
error(String msg)
|
static CompilerError |
error(String msg,
File file)
|
static CompilerError |
error(String msg,
File file,
Throwable t)
|
protected InputSource |
findSource(String qname)
|
CompilationUnit |
getCompilationsUnit(String qname)
|
ParserOptions |
getConfig()
|
static String |
getInputSourceFileName(String qname,
InputSource is,
String extension)
|
CompileLog |
getLog()
|
List<String> |
getPackageIdes(String packageName)
|
CompilationUnit |
importSource(InputSource source)
|
protected CompilationUnit |
parse(InputSource in)
|
IdeDeclaration |
resolveImport(ImportDirective importDirective)
|
void |
setConfig(ParserOptions config)
|
void |
setLog(CompileLog log)
|
void |
setUp(InputSource sourcePathInputSource,
InputSource classPathInputSource)
|
void |
tearDown()
|
static void |
warning(FilePosition symbol,
String msg)
|
static void |
warning(String msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOO_API_IN_JAR_DIRECTORY_PREFIX
public static final String JOO_API_IN_JAR_DIRECTORY_PREFIX
- See Also:
- Constant Field Values
log
protected CompileLog log
globalScope
protected final Scope globalScope
JangarooParser
public JangarooParser()
JangarooParser
public JangarooParser(ParserOptions config,
CompileLog log)
error
public static CompilerError error(String msg)
error
public static CompilerError error(String msg,
File file)
error
public static CompilerError error(FilePosition symbol,
String msg)
error
public static CompilerError error(AstNode node,
String msg)
error
public static CompilerError error(String msg,
File file,
Throwable t)
warning
public static void warning(FilePosition symbol,
String msg)
warning
public static void warning(String msg)
getConfig
public ParserOptions getConfig()
setConfig
public void setConfig(ParserOptions config)
getLog
public CompileLog getLog()
setLog
public void setLog(CompileLog log)
doParse
public static CompilationUnit doParse(InputSource in,
CompileLog log,
SemicolonInsertionMode semicolonInsertionMode)
declareValues
protected static void declareValues(Scope scope,
String[] identifiers)
findSource
protected InputSource findSource(String qname)
getInputSourceFileName
public static String getInputSourceFileName(String qname,
InputSource is,
String extension)
importSource
public CompilationUnit importSource(InputSource source)
resolveImport
public IdeDeclaration resolveImport(ImportDirective importDirective)
getCompilationsUnit
public CompilationUnit getCompilationsUnit(String qname)
parse
protected CompilationUnit parse(InputSource in)
getPackageIdes
public List<String> getPackageIdes(String packageName)
setUp
public void setUp(InputSource sourcePathInputSource,
InputSource classPathInputSource)
tearDown
public void tearDown()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.