- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for Lexer (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
*/ public class HtmlToXmlJavadocLexer implements JavadocLexer { private final JavadocLexer lexer; private final Set<String> blockElements = new HashSet<String>(); private final Set<String> blockContent = new HashSet<String>(); public HtmlToXmlJavadocLexer(JavadocLexer lexer) { this.lexer = lexer; blockElements.add("p"); blockElements.add("pre"); blockElements.add("ul");Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.8K bytes - Click Count (0) -
internal/s3select/sql/parser.go
} // Identifier represents a parsed identifier type Identifier struct { Unquoted *string `parser:" @Ident"` Quoted *QuotedIdentifier `parser:"| @QuotIdent"` } var ( sqlLexer = lexer.Must(lexer.Regexp(`(\s+)` + `|(?P<Timeword>(?i)\b(?:YEAR|MONTH|DAY|HOUR|MINUTE|SECOND|TIMEZONE_HOUR|TIMEZONE_MINUTE)\b)` +Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
func testEndToEnd(t *testing.T, goarch, file string) { input := filepath.Join("testdata", file+".s") architecture, ctxt := setArch(goarch) architecture.Init(ctxt) lexer := lex.NewLexer(input) parser := NewParser(ctxt, architecture, lexer) pList := new(obj.Plist) var ok bool testOut = new(strings.Builder) // The assembler writes test output to this buffer. ctxt.Bso = bufio.NewWriter(os.Stdout) ctxt.IsAsm = true
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 18:45:48 GMT 2025 - 12.5K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java
* limitations under the License. */ package gradlebuild.docs.dsl.docbook; public interface JavadocLexer { /** * Visits the tokens in the input stream for this lexer. Reads to the end of the input. */ void visit(TokenVisitor visitor); class TokenVisitor { void onStartHtmlElement(String name) { }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.3K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy
"text<h2>header</h2>text" | "<p>text</p><h2>header</h2><p>text</p>" } def parse(String source) { def lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(source))) def result = new StringBuilder() lexer.visit(new JavadocLexer.TokenVisitor() { @Override void onStartHtmlElement(String name) { result.append("<$name")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.5K bytes - Click Count (0) -
internal/s3select/sql/jsonpath_test.go
if err != nil { t.Fatal(err) } b, err := io.ReadAll(f) if err != nil { t.Fatal(err) } p := participle.MustBuild( &JSONPath{}, participle.Lexer(sqlLexer), participle.CaseInsensitive("Keyword"), ) cases := []struct { str string res []any }{ {"s.title", []any{"Murder on the Orient Express", "The Robots of Dawn", "Pigs Have Wings"}},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex.go
return "string constant" case scanner.RawString: return "raw string constant" case scanner.Comment: return "comment" default: return fmt.Sprintf("%q", rune(t)) } } // NewLexer returns a lexer for the named file and the given link context. func NewLexer(name string) TokenReader { input := NewInput(name) fd, err := os.Open(name) if err != nil { log.Fatalf("%s\n", err) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
} private DocCommentImpl parse(String rawCommentText, ClassMetaData classMetaData, CommentSource inheritedCommentSource, GenerationListener listener) { JavadocLexer lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(rawCommentText))); DocBookBuilder nodes = new DocBookBuilder(document);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
import javassist.CtBehavior import javassist.CtClass import javassist.CtConstructor import javassist.CtField import javassist.CtMember import javassist.CtMethod import javassist.Modifier import org.jetbrains.kotlin.lexer.KtTokens import org.jetbrains.kotlin.psi.KtClassOrObject import org.jetbrains.kotlin.psi.KtConstructor import org.jetbrains.kotlin.psi.KtDeclaration import org.jetbrains.kotlin.psi.KtFile
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0)