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 TokensFragmentstatic final TokensFragmentstatic final TokensFragmentstatic final TokensFragmentstatic final TokensFragmentstatic final TokensFragmentFields inherited from class FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTokensFragment(int lineCount, List<Token> tokens) TokensFragment(List<Token> tokens) TokensFragment(Token... tokens) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(JavaFragmentVisitor visitor) protected static intgetLineCount(List<Token> tokens) Methods inherited from class 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:
acceptin interfaceJavaFragment
-