SourceFile
Represents a Java source file.
Handles top level package declaration, as well as importing other sources
import { SourceFile } from "@alloy-js/java";
<SourceFile path="string"> {children}</SourceFile>
import { SourceFile } from "@alloy-js/java/stc";
SourceFile({ path: string }).children(children)
Props
children | optionalChildren |
path | string |