org.eclipse.jdt.internal.eval
Class CodeSnippetCompiler
java.lang.Object
org.eclipse.jdt.internal.compiler.Compiler
org.eclipse.jdt.internal.eval.CodeSnippetCompiler
- All Implemented Interfaces:
- ITypeRequestor, ProblemSeverities
public class CodeSnippetCompiler
- extends Compiler
A compiler that compiles code snippets.
Fields inherited from class org.eclipse.jdt.internal.compiler.Compiler |
annotationProcessorManager, DEBUG, DebugRequestor, jmlBinaryLookup, jmlSourceLookup, lookupEnvironment, options, parser, parseThreshold, problemReporter, progress, referenceBindings, remainingIterations, requestor, stats, totalUnits, unitsToProcess, useSingleThread |
Fields inherited from interface org.eclipse.jdt.internal.compiler.problem.ProblemSeverities |
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, Error, Fatal, Ignore, Optional, SecondaryError, Warning |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeSnippetCompiler
public CodeSnippetCompiler(INameEnvironment environment,
IErrorHandlingPolicy policy,
CompilerOptions compilerOptions,
ICompilerRequestor requestor,
IProblemFactory problemFactory,
EvaluationContext evaluationContext,
int codeSnippetStart,
int codeSnippetEnd)
- Creates a new code snippet compiler initialized with a code snippet parser.
initializeParser
public void initializeParser()
- Overrides:
initializeParser
in class Compiler