{"id":16416419,"url":"https://github.com/igapyon/blancoapexparser","last_synced_at":"2026-05-18T05:03:10.763Z","repository":{"id":144563996,"uuid":"63102653","full_name":"igapyon/blancoApexParser","owner":"igapyon","description":"Apex language lexcical parser written in Java.","archived":false,"fork":false,"pushed_at":"2017-12-06T12:44:08.000Z","size":76,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T17:16:11.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igapyon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-11T21:13:37.000Z","updated_at":"2021-08-08T15:07:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"7748a725-f0db-411a-8e24-70f23aa6e33e","html_url":"https://github.com/igapyon/blancoApexParser","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igapyon","download_url":"https://codeload.github.com/igapyon/blancoApexParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240466791,"owners_count":19805862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:09:13.742Z","updated_at":"2026-05-18T05:03:05.722Z","avatar_url":"https://github.com/igapyon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blancoApexParser\nLexical Parser for Apex language written in Java.\n\n## usage\n\nPrepare *.cls file as input.\n\n```java\n@isTest\npublic without sharing class MySimpleTest {\n    static testMethod void testMain001() {\n        System.assert(false, 'First hello word written in Apex, as a error of test code.');\n    }\n}\n```\n\nRun Apex rexical parser.\n\n```java\nfinal List\u003cBlancoApexToken\u003e result = new BlancoApexParser()\n    .parse(new File(\"./test/data/apex/MySimpleTest.cls\"));\n\nfor (BlancoApexToken lookup : result) {\n    System.out.println(lookup.getDisplayString());\n}\n```\n\nResult is like below.\n\n```\nSPECIAL_CHAR[@]\nWORD[isTest]\nNEWLINE[n]\nWORD[public]\nWHITESPACE[ ]\nWORD[without]\nWHITESPACE[ ]\nWORD[sharing]\nWHITESPACE[ ]\nWORD[class]\nWHITESPACE[ ]\nWORD[MySimpleTest]\nWHITESPACE[ ]\nSPECIAL_CHAR[{]\nNEWLINE[n]\nWHITESPACE[    ]\nWORD[static]\nWHITESPACE[ ]\nWORD[testMethod]\nWHITESPACE[ ]\nWORD[void]\nWHITESPACE[ ]\nWORD[testMain001]\nSPECIAL_CHAR[(]\nSPECIAL_CHAR[)]\nWHITESPACE[ ]\nSPECIAL_CHAR[{]\nNEWLINE[n]\nWHITESPACE[        ]\nWORD[System]\nSPECIAL_CHAR[.]\nWORD[assert]\nSPECIAL_CHAR[(]\nWORD[false]\nSPECIAL_CHAR[,]\nWHITESPACE[ ]\nLITERAL(STRING)['First hello word written in Apex, as a error of test code.']\nSPECIAL_CHAR[)]\nSPECIAL_CHAR[;]\nNEWLINE[n]\nWHITESPACE[    ]\nSPECIAL_CHAR[}]\nNEWLINE[n]\nSPECIAL_CHAR[}]\nNEWLINE[n]\n```\n\n## LICENSE\n\n```\n/*\n * Copyright 2016 Toshiki Iga\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n```\n\n## Misc\n\n```sh\nmvn archetype:generate -DgroupId=jp.igapyon.blanco.apex.parser -DartifactId=BlancoApexParser -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figapyon%2Fblancoapexparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figapyon%2Fblancoapexparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figapyon%2Fblancoapexparser/lists"}