Lines 47-52
Link Here
|
47 |
|
47 |
|
48 |
/** |
48 |
/** |
49 |
* Sets the context type. |
49 |
* Sets the context type. |
|
|
50 |
* |
51 |
* @param contextType the template context type |
50 |
*/ |
52 |
*/ |
51 |
public void setContextType(TemplateContextType contextType) { |
53 |
public void setContextType(TemplateContextType contextType) { |
52 |
fContextType= contextType; |
54 |
fContextType= contextType; |
Lines 54-59
Link Here
|
54 |
|
56 |
|
55 |
/** |
57 |
/** |
56 |
* Gets the context type. |
58 |
* Gets the context type. |
|
|
59 |
* |
60 |
* @return the template context type |
57 |
*/ |
61 |
*/ |
58 |
public TemplateContextType getContextType() { |
62 |
public TemplateContextType getContextType() { |
59 |
return fContextType; |
63 |
return fContextType; |
Lines 125-131
Link Here
|
125 |
if (start >= 2 && string.charAt(start - 1) == '{' && string.charAt(start - 2) == '$') |
129 |
if (start >= 2 && string.charAt(start - 1) == '{' && string.charAt(start - 2) == '$') |
126 |
return start - 2; |
130 |
return start - 2; |
127 |
|
131 |
|
128 |
return end; |
132 |
return start; |
129 |
} |
133 |
} |
130 |
|
134 |
|
131 |
/* |
135 |
/* |