csharp
public sealed class SyntaxTreeNo guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public Encoding? Encodingpublic string FilePathpublic int Lengthpublic ParseOptions Optionspublic SourceText? TextThe source text this tree was parsed from, or null when created from a node.
public IReadOnlyList<Diagnostic> DiagnosticsLexer/parser diagnostics produced while parsing (empty for a valid parse).
Methods (5)
public SyntaxNode GetRoot()public bool TryGetRoot(out SyntaxNode? root)public static SyntaxTree Create(SyntaxNode root, ParseOptions? options = null, string? path = "", Encoding? encoding = null)public SyntaxTree WithChangedText(SourceText newText)Reparses this tree against edited text, keeping the path, options and encoding.
public static SyntaxTree ParseText(string text, ParseOptions? options = null, string? path = "", Encoding? encoding = null)
Used by (66, showing 40)
- RavenKernelsVixen.Vfx.Gpu.Tests
- ShaderRunVixen.Raven.Gpu.Tests
- VfxShaderEmitterTestsVixen.Vfx.Tests
- VfxShaderUniformTestsVixen.Vfx.Tests
- VfxSortTestsVixen.Vfx.Gpu.Tests
- AtomicTestsVixen.Raven.Tests
- BindingTestsVixen.Raven.Tests
- BindlessTextureTestsVixen.Raven.Tests
- CapabilityTestsVixen.Raven.Tests
- CodeGenTestBaseVixen.Raven.Tests
- CompilationVixen.Raven
- CompileDriverVixen.Raven.Cli
- CompiledEffectTestsVixen.Raven.Tests
- CompiledLibraryTestsVixen.Raven.Tests
- ComposeInterfaceTestsVixen.Raven.Tests
- ComposeTestsVixen.Raven.Tests
- ComputeTestsVixen.Raven.Tests
- DescriptorSetTestsVixen.Raven.Tests
- DiagnosticFormatterTestsVixen.Raven.Tests
- DiagnosticsTestsVixen.Raven.Tests
- DiscardTestsVixen.Raven.Tests
- ElseIfTestsVixen.Raven.Tests
- Example1RoundTripTestsVixen.Raven.Tests
- ExpressionPrecedenceTestsVixen.Raven.Tests
- GoldenGlslTestsVixen.Raven.Tests
- GoldenIrTestsVixen.Raven.Tests
- GoldenSpirvTestsVixen.Raven.Tests
- GoldenSyntaxTestsVixen.Raven.Tests
- GroupSharedTestsVixen.Raven.Tests
- InOutTestsVixen.Raven.Tests
- IncrementalParseTestsVixen.Raven.Tests
- Int64TestsVixen.Raven.Tests
- LibraryBuilderVixen.Raven
- LibraryExampleTestsVixen.Raven.Tests
- LibraryReflectionTestsVixen.Raven.Tests
- LibraryTreeTestsVixen.Raven.Tests
- LineBreakTestsVixen.Raven.Tests
- LowererVixen.Raven
- LoweringTestBaseVixen.Raven.Tests
- MaterialRecordTestsVixen.Raven.Tests