csharp
public sealed class SyntaxTreeFields 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 (82, showing 40)
- FuzzGateTestsVixen.Fuzz.Tests
- ParticlePictureVixen.Vfx.Gpu.Tests
- RavenKernelsVixen.Vfx.Gpu.Tests
- RavenTargetVixen.Fuzz
- 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
- CrossCompilationTestsVixen.Raven.Transpile.Tests
- DepthTextureTestsVixen.Raven.Tests
- DescriptorSetTestsVixen.Raven.Tests
- DiagnosticFormatterTestsVixen.Raven.Tests
- DiagnosticsTestsVixen.Raven.Tests
- DiscardTestsVixen.Raven.Tests
- DynamicOffsetTestsVixen.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
- IncrementalParseWorkTestsVixen.Raven.Tests
- Int64TestsVixen.Raven.Tests
- LibraryBuilderVixen.Raven