compiler-0.9.3.jar
登录
|
com.github.spullara.mustache.java:compiler:0.9.3
META-INF
com
github
mustachejava
DeferringMustacheFactory.java
FragmentKey.java
Iteration.java
Code.java
FallbackMustacheFactory.java
MustacheResolver.java
reflect
DefaultMustacheFactory.java
MustacheNotFoundException.java
MustacheFactory.java
MustacheParser.java
PragmaHandler.java
util
TemplateContext.java
DefaultMustacheVisitor.java
Mustache.java
TypeCheckingHandler.java
TemplateFunction.java
ObjectHandler.java
resolver
functions
MustacheException.java
codes
MustacheVisitor.java
Binding.java
TemplateContext.java
清空
类结构
package com.github.mustachejava; public final class
TemplateContext
{ private final
String
sm
; private final
String
em
; private final
String
file
; private final int
line
; private final boolean
startOfLine
; public
TemplateContext
(
String
sm
,
String
em
,
String
file
, int
line
, boolean
startOfLine
) { this.
sm
=
sm
; this.
em
=
em
; this.
file
=
file
; this.
line
=
line
; this.
startOfLine
=
startOfLine
; } public boolean
startOfLine
() { return
startOfLine
; } public
String
startChars
() { return
sm
; } public
String
endChars
() { return
em
; } public
String
file
() { return
file
; } public int
line
() { return
line
; } @
Override
public boolean
equals
(
Object
o
) { if (this ==
o
) return true; if (
o
== null ||
getClass
() !=
o
.
getClass
()) return false;
TemplateContext
that
= (
TemplateContext
)
o
; return
line
==
that
.
line
&& !(
em
!= null ? !
em
.
equals
(
that
.
em
) :
that
.
em
!= null) && !(
file
!= null ? !
file
.
equals
(
that
.
file
) :
that
.
file
!= null) && !(
sm
!= null ? !
sm
.
equals
(
that
.
sm
) :
that
.
sm
!= null); } @
Override
public int
hashCode
() { int
result
=
sm
!= null ?
sm
.
hashCode
() : 0;
result
= 31 *
result
+ (
em
!= null ?
em
.
hashCode
() : 0);
result
= 31 *
result
+ (
file
!= null ?
file
.
hashCode
() : 0);
result
= 31 *
result
+
line
; return
result
; } public
String
toString
() { return "[" +
file
+ ":" +
line
+ "]"; } }
查找资源
Jre/Lib
输入类名或文件名
类结构窗口