Class TokensFragment
java.lang.Object
org.jd.core.v1.model.fragment.FlexibleFragment
org.jd.core.v1.model.javafragment.TokensFragment
- All Implemented Interfaces:
Fragment
,JavaFragment
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TokensFragment
static final TokensFragment
static final TokensFragment
static final TokensFragment
static final TokensFragment
static final TokensFragment
Fields inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TokensFragment
(int lineCount, List<Token> tokens) TokensFragment
(List<Token> tokens) TokensFragment
(Token... tokens) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JavaFragmentVisitor visitor) protected static int
getLineCount
(List<Token> tokens) Methods inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
accept, decLineCount, getInitialLineCount, getLabel, getLineCount, getMaximalLineCount, getMinimalLineCount, getWeight, incLineCount, resetLineCount, toString
-
Field Details
-
COMMA
-
SEMICOLON
-
START_DECLARATION_OR_STATEMENT_BLOCK
-
END_DECLARATION_OR_STATEMENT_BLOCK
-
END_DECLARATION_OR_STATEMENT_BLOCK_SEMICOLON
-
RETURN_SEMICOLON
-
tokens
-
-
Constructor Details
-
TokensFragment
-
TokensFragment
-
TokensFragment
-
-
Method Details
-
getTokens
-
getLineCount
-
accept
- Specified by:
accept
in interfaceJavaFragment
-