1 introduction, 1 declaration conventions, 1 parentheses – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 9: 2 brackets, 2 script example highlighting, Introduction, Declaration conventions, Parentheses, Brackets, Script example highlighting

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
1
1
Introduction
The UWBTrainer™ Generation Script Language allows you to create UWB traffic generation
scenarios for UWBTrainer devices. The Generation Script Language allows you to implement
even complicated generation scenarios.
Typically, Generation Script Language constructions do not require special separation symbols
(such as the semicolon in C languages) to distinguish between different constructions. Where
possible, script parsing uses "context-dependency" rather than separation symbols.
Also, Generation Script Language constructions are not case-sensitive.
This document describes the commands and syntax of the UWBTrainer Generation Script
Language.
1.1 Declaration Conventions
1.1.1 Parentheses
In declarations and descriptions of Generation Script Language instructions,
the format
"(" ")"
specifies a list of keywords that have the same value and can replace
each other. The declaration
(
Packet
|
Frame
|
Struct
)
Template_Name …
specifies that you can use the "Packet", "Frame", or "Struct" keyword for template name
declarations.
1.1.2 Brackets
In declarations and descriptions of Generation Script Language instructions,
the format "
[
" "
]
" specifies optional parts of declarations or instruction parameters. The declaration
(
Packet
|
Frame
|
Struct
)
Template_Name
[
Ancestor_1, Ancestor_ 2, …
]
[
(Attribute list)
]
specifies that the listed ancestors and attribute lists are optional for template name declarations.
1.2 Script Example Highlighting
Generation Script Language examples in this document show syntax highlighting similar to that in
the UWBTrainer Generation Script Editor.