org.eclipse.jdt.internal.eval
Class CodeSnippetCompiler

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.Compiler
      extended by org.eclipse.jdt.internal.eval.CodeSnippetCompiler
All Implemented Interfaces:
ITypeRequestor, ProblemSeverities

public class CodeSnippetCompiler
extends Compiler

A compiler that compiles code snippets.


Field Summary
 
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
 
Constructor Summary
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.
 
Method Summary
 void initializeParser()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.Compiler
accept, accept, accept, compile, getUnitToProcess, process, reset, resolve, resolve, setBinaryTypes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

initializeParser

public void initializeParser()
Overrides:
initializeParser in class Compiler