Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 457 for Parser (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.MavenInvoker;
    import org.apache.maven.cling.invoker.mvn.MavenParser;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

    import java.nio.file.Path;
    import java.util.List;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.apache.maven.cling.invoker.mvn.MavenParser;
    import org.codehaus.plexus.classworlds.ClassWorld;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    	parser := NewParser(ctxt, architecture, lexer)
    	pList := new(obj.Plist)
    	var ok bool
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	var errBuf bytes.Buffer
    	parser.errorWriter = &errBuf
    	ctxt.DiagFunc = func(format string, args ...any) {
    		failed = 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)
  4. internal/s3select/simdj/reader_amd64_test.go

    			}
    			// _ = os.WriteFile(filepath.Join("testdata", tt.name+".json"), b, os.ModePerm)
    
    		parser:
    			for {
    				var next simdjson.Iter
    				typ, err := i.AdvanceIter(&next)
    				if err != nil {
    					t.Fatal(err)
    				}
    				switch typ {
    				case simdjson.TypeNone:
    					close(dst)
    					break parser
    				case simdjson.TypeRoot:
    					typ, obj, err := next.Root(nil)
    					if err != nil {
    						t.Fatal(err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         * @param pomPath the path to the POM file
         * @return the parsed Document
         * @throws IOException if there's an error reading the file
         * @throws DomTripException if there's an error parsing the XML
         */
        private static Document loadPom(Path pomPath) throws IOException, DomTripException {
            String content = Files.readString(pomPath);
            return new Parser().parse(content);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. compat/maven-settings/src/site/apt/index.apt

     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> package
         for Merger and v4 Reader and Writers for the Xpp3 XML parser,
    
       * A {{{../../api/maven-api-settings/settings.html}Descriptor Reference}}
    
       * An {{{https://maven.apache.org/xsd/settings-2.0.0.xsd}XSD}}
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/line_test.go

    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Click Count (0)
Back to Top