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(JooSymbol symbol,
String msg)
|
static CompilerError |
error(String msg)
|
static CompilerError |
error(String msg,
Throwable t)
|
protected InputSource |
findSource(String qname)
|
CompilationUnit |
getCompilationsUnit(String qname)
|
ParserOptions |
getConfig()
|
static String |
getInputSourceFileName(String qname,
InputSource is,
String extension)
|
List<String> |
getPackageIdes(String packageName)
|
CompilationUnit |
importSource(InputSource source)
|
protected CompilationUnit |
parse(InputSource in)
|
IdeDeclaration |
resolveImport(ImportDirective importDirective)
|
void |
setUp(InputSource sourcePathInputSource,
InputSource classPathInputSource)
|
void |
tearDown()
|
static void |
warning(JooSymbol 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
AS_SUFFIX_NO_DOT
public static final String AS_SUFFIX_NO_DOT
- See Also:
- Constant Field Values
AS_SUFFIX
public static final String AS_SUFFIX
- See Also:
- Constant Field Values
log
protected CompileLog log
globalScope
protected final Scope globalScope
JangarooParser
public JangarooParser(ParserOptions config,
CompileLog log)
error
public static CompilerError error(String msg)
error
public static CompilerError error(JooSymbol symbol,
String msg)
error
public static CompilerError error(AstNode node,
String msg)
error
public static CompilerError error(String msg,
Throwable t)
warning
public static void warning(JooSymbol symbol,
String msg)
warning
public static void warning(String msg)
getConfig
public ParserOptions getConfig()
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-2011 CoreMedia AG. All Rights Reserved.