Package manifold.internal.javac
Class FragmentProcessor
- java.lang.Object
-
- manifold.internal.javac.FragmentProcessor
-
public class FragmentProcessor extends Object
Process inlined type fragments. Dynamically adds virtual resource files to the type system as they are encountered, thus enabling native resource types to be inlined in Java source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFragmentProcessor.Fragment
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUS_FRAGMENT_PREFIXstatic StringFRAGMENT_ENDstatic StringFRAGMENT_STARTstatic charSCHEMA_NAME_SEPARATOR
-
Constructor Summary
Constructors Constructor Description FragmentProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FragmentProcessorinstance()FragmentProcessor.FragmentparseFragment(int pos, String chars, HostKind hostKind)
-
-
-
Field Detail
-
FRAGMENT_START
public static final String FRAGMENT_START
- See Also:
- Constant Field Values
-
FRAGMENT_END
public static final String FRAGMENT_END
- See Also:
- Constant Field Values
-
SCHEMA_NAME_SEPARATOR
public static final char SCHEMA_NAME_SEPARATOR
- See Also:
- Constant Field Values
-
ANONYMOUS_FRAGMENT_PREFIX
public static final String ANONYMOUS_FRAGMENT_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
public static FragmentProcessor instance()
-
parseFragment
public FragmentProcessor.Fragment parseFragment(int pos, String chars, HostKind hostKind)
-
-