[logging] Refactor syntax sugar for disjunctions

Expressions like `core:foo|bar` were expanding to a single filter when
in reality they were syntax sugar for an OrExpression. This CL refactors
the parser to emit OrExpressions when such a string is parsed and
consequently simplifies the filtering logic.

This is in preparation for shorthanded ANDs in addition to the current
shorthand ORs.

Bug: 113096

Change-Id: I3b4d388f92d1aa6c5d3d78aa53da5b11052c0fa8
Reviewed-on: https://fuchsia-review.googlesource.com/c/vscode-plugins/+/746244
Reviewed-by: Amy Hu <amyhu@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
7 files changed
tree: 9e155b93f11d371f9bef7e76ed4d59b548d91c4b
  1. .ci/
  2. .kokoro/
  3. .vscode/
  4. docs/
  5. media/
  6. resources/
  7. src/
  8. syntax/
  9. testdata/
  10. webviews/
  11. .eslintrc.json
  12. .gitignore
  13. .vscodeignore
  14. AUTHORS
  15. build-helpers.mjs
  16. build.mjs
  17. BUILDING.md
  18. CHANGELOG.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. package-lock.json
  23. package.json
  24. PATENTS
  25. README.md
  26. THIRD_PARTY_NOTICES.txt
  27. TROUBLESHOOTING_ZXDB.md
  28. tsconfig.json
README.md

Fuchsia extension for VS Code

This VS Code extension implements the commonly needed functionality for Fuchsia development.

This is a Work In Progress Currently supporting:

  • Interacting with the fuchsia target device.
    • Setting the default target.
    • Sending commands to the target.
  • Debugging C/C++ components.
  • Filtering and listening to target logs.
  • FIDL syntax highlighting

FFX path settings

The FFX tool path can be set under Settings > Extensions > Fuchsia SDK. If this path is not set, the extension will automatically search for it at:

  • ./tools/ffx
  • ./.jiri_root/bin/ffx

Recommended extensions

Contributing

Issues/feedback

  • Please report issues/feedback here.

Legal Notice

Use of the Fuchsia core developer tools is subject to the Google Terms of Service. The Google Privacy Policy describes how data is handled in your use of this service.