Uses of Class
codeanalysis.text.SourceText
Packages that use SourceText
-
Uses of SourceText in codeanalysis.syntax
Methods in codeanalysis.syntax that return SourceTextMethods in codeanalysis.syntax with parameters of type SourceTextModifier and TypeMethodDescriptionstatic SyntaxTreeSyntaxTree.parse(SourceText text) Parses the specified source code text and returns the corresponding syntax tree.static Iterable<SyntaxToken>SyntaxTree.parseTokens(SourceText text) Parses the specified source code text and returns the corresponding tokens.Constructors in codeanalysis.syntax with parameters of type SourceTextModifierConstructorDescriptionLexer(SourceText text) Initializes a new instance of theLexerclass with the specified text to analyze.Parser(SourceText text) Initializes a new instance of the Parser class with the specified input text.SyntaxTree(SourceText text, DiagnosticBox diagnostics, ExpressionSyntax root, SyntaxToken EOFToken) Initializes a new instance of the SyntaxTree class with the specified diagnostics, root expression syntax, and end-of-file token. -
Uses of SourceText in codeanalysis.text
Methods in codeanalysis.text that return SourceTextModifier and TypeMethodDescriptionstatic SourceTextCreates a new instance of the SourceText class with the specified text.TextLine.getText()Retrieves the source text.Constructors in codeanalysis.text with parameters of type SourceTextModifierConstructorDescriptionTextLine(SourceText text, int start, int length, int lengthIncludingLineBreak) Creates a new instance of the TextLine class with the specified start position, length, and length including line break.