static SoyNodeCompiler create(
      CompiledTemplateRegistry registry,
      InnerClasses innerClasses,
      FieldRef stateField,
      Expression thisVar,
      AppendableExpression appendableVar,
      TemplateVariableManager variables,
      TemplateParameterLookup parameterLookup,
      ErrorReporter reporter,
      SoyTypeRegistry typeRegistry) {
    DetachState detachState = new DetachState(variables, thisVar, stateField);
    ExpressionCompiler expressionCompiler =
        ExpressionCompiler.create(detachState, parameterLookup, variables, reporter, typeRegistry);
    ExpressionToSoyValueProviderCompiler soyValueProviderCompiler =
        ExpressionToSoyValueProviderCompiler.create(variables, expressionCompiler, parameterLookup);
    return new SoyNodeCompiler(
        thisVar,
        registry,
        detachState,
        variables,
        parameterLookup,
        appendableVar,
        expressionCompiler,
        soyValueProviderCompiler,
        new LazyClosureCompiler(
            registry,
            innerClasses,
            parameterLookup,
            variables,
            soyValueProviderCompiler,
            reporter,
            typeRegistry));
  }
static SoyNodeCompiler create ( CompiledTemplateRegistry registry , InnerClasses innerClasses , FieldRef stateField , Expression thisVar , AppendableExpression appendableVar , TemplateVariableManager variables , TemplateParameterLookup parameterLookup , ErrorReporter reporter , SoyTypeRegistry typeRegistry ) { DetachState detachState = new DetachState ( variables , thisVar , stateField ) ; ExpressionCompiler expressionCompiler = ExpressionCompiler . create ( detachState , parameterLookup , variables , reporter , typeRegistry ) ; ExpressionToSoyValueProviderCompiler soyValueProviderCompiler = ExpressionToSoyValueProviderCompiler . create ( variables , expressionCompiler , parameterLookup ) ; return new SoyNodeCompiler ( thisVar , registry , detachState , variables , parameterLookup , appendableVar , expressionCompiler , soyValueProviderCompiler , new LazyClosureCompiler ( registry , innerClasses , parameterLookup , variables , soyValueProviderCompiler , reporter , typeRegistry ) ) ; }
Creates a SoyNodeCompiler

@param innerClasses The current set of inner classes
@param stateField The field on the current class that holds the state variable
@param thisVar An expression that returns 'this'
@param appendableVar An expression that returns the current AdvisingAppendable that we are
rendering into
@param variables The variable set for generating locals and fields
@param parameterLookup The variable lookup table for reading locals.