Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for lexer (0.02 seconds)

  1. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Click Count (0)
  2. src/cmd/asm/main.go

    			flags.D = append(flags.D, "GOEXPERIMENT_"+exp)
    		}
    	}
    
    	var ok, diag bool
    	var failedFile string
    	for _, f := range flag.Args() {
    		lexer := lex.NewLexer(f)
    		parser := asm.NewParser(ctxt, architecture, lexer)
    		ctxt.DiagFunc = func(format string, args ...any) {
    			diag = true
    			log.Printf(format, args...)
    		}
    		if *flags.SymABIs {
    			ok = parser.ParseSymABIs(buf)
    		} else {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/resources/checkstyle_suppressions.xml

      <suppress files="plugin[/\\]eql[/\\]src[/\\]main[/\\]java[/\\]org[/\\]elasticsearch[/\\]xpack[/\\]eql[/\\]parser[/\\]EqlBase(Base(Listener|Visitor)|Lexer|Listener|Parser|Visitor).java" checks="." />
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  4. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Click Count (0)
  5. internal/s3select/sql/parser_test.go

    package sql
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/alecthomas/participle"
    	"github.com/alecthomas/participle/lexer"
    )
    
    func TestJSONPathElement(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPathElement{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPathElement{}
    	cases := []string{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  6. 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 Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  7. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. docs/es/docs/environment-variables.md

    $ MY_NAME="Wade Wilson" python main.py
    
    // Ahora puede leer la variable de entorno
    
    Hello Wade Wilson from Python
    
    // La env var ya no existe después
    $ python main.py
    
    Hello World from Python
    ```
    
    </div>
    
    /// tip | Consejo
    
    Puedes leer más al respecto en [The Twelve-Factor App: Config](https://12factor.net/config).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/request-forms.md

    **FastAPI** se encargará de leer esos datos del lugar correcto en lugar de JSON.
    
    /// note | Detalles técnicos
    
    Los datos de formularios normalmente se codifican usando el "media type" `application/x-www-form-urlencoded`.
    
    Pero cuando el formulario incluye archivos, se codifica como `multipart/form-data`. Leerás sobre la gestión de archivos en el próximo capítulo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/dependencies/global-dependencies.md

    ## Dependencias para grupos de *path operations* { #dependencies-for-groups-of-path-operations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top