Package org.openrewrite.polyglot
Class Polyglot.Source
- java.lang.Object
-
- org.openrewrite.polyglot.Polyglot.Source
-
- All Implemented Interfaces:
Polyglot,SourceFile,Tree
- Enclosing interface:
- Polyglot
public static class Polyglot.Source extends java.lang.Object implements Polyglot, SourceFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openrewrite.polyglot.Polyglot
Polyglot.ArrayElement, Polyglot.ArrayElements, Polyglot.Error, Polyglot.Executable, Polyglot.HashEntries, Polyglot.HashEntry, Polyglot.Instance, Polyglot.Instantiable, Polyglot.Member, Polyglot.Members, Polyglot.NumberValue, Polyglot.Source, Polyglot.StringValue, Polyglot.ValueMarker
-
-
Constructor Summary
Constructors Constructor Description Source(java.util.UUID id, Markers markers, java.nio.file.Path sourcePath, org.graalvm.polyglot.Value value)Source(java.util.UUID id, Markers markers, java.nio.file.Path sourcePath, org.graalvm.polyglot.Value value, Polyglot.Members members)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P> @Nullable PolyglotacceptPolyglot(PolyglotVisitor<P> pv, P p)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.polyglot.Polyglot
accept, as, getValue, isAcceptable
-
Methods inherited from interface org.openrewrite.SourceFile
getMarkers, getSourcePath, getStyle, printAll, printAll, printAllTrimmed, printAllTrimmed, printer, withMarkers, withSourcePath
-
Methods inherited from interface org.openrewrite.Tree
getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printTrimmed, printTrimmed, printTrimmed
-
-
-
-
Constructor Detail
-
Source
public Source(java.util.UUID id, Markers markers, java.nio.file.Path sourcePath, org.graalvm.polyglot.Value value)
-
Source
public Source(java.util.UUID id, Markers markers, java.nio.file.Path sourcePath, org.graalvm.polyglot.Value value, Polyglot.Members members)
-
-
Method Detail
-
acceptPolyglot
@Nullable public <P> @Nullable Polyglot acceptPolyglot(PolyglotVisitor<P> pv, P p)
- Specified by:
acceptPolyglotin interfacePolyglot
-
-