Top Fields Constructors Methods
org.stringtemplate.v4

public Class InstanceScope

extends Object
Class Inheritance
Imports
org.stringtemplate.v4.debug.EvalTemplateEvent, .InterpEvent, org.stringtemplate.v4.gui.STViz, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
public List<EvalTemplateEvent>
childEvalTemplateEvents

All templates evaluated and embedded in this ST.

public boolean
public List<InterpEvent>
events

Includes the EvalTemplateEvent for this template.

public int
ip

Current instruction pointer.

public final InstanceScope
parent

Template that invoked us.

public final ST
st

Template we're executing.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

childEvalTemplateEventsback to summary
public List<EvalTemplateEvent> childEvalTemplateEvents

All templates evaluated and embedded in this ST. Used for tree view in STViz.

earlyEvalback to summary
public boolean earlyEval
eventsback to summary
public List<InterpEvent> events

Includes the EvalTemplateEvent for this template. This is a subset of Interpreter#events field. The final EvalTemplateEvent is stored in 3 places:

  1. In parent's childEvalTemplateEvents list
  2. In this list
  3. In the Interpreter#events list
The root ST has the final EvalTemplateEvent in its list.

All events get added to the parent's event list.

ipback to summary
public int ip

Current instruction pointer.

parentback to summary
public final InstanceScope parent

Template that invoked us.

stback to summary
public final ST st

Template we're executing.

Constructor Detail

InstanceScopeback to summary
public InstanceScope(InstanceScope parent, ST st)