Scripts
|
|
Sintaxis
|
ShapeScript
|
::=
|
<Shape>*;
|
Shape
|
::=
|
<ShapeDeclaration> <ShapeBody>;
|
ShapeDeclaration
|
::=
|
<ShapeType> <ShapeName>;
|
ShapeType
|
::=
|
"shape" | "decoration";
|
ShapeName
|
::=
|
<ReservedShapeName> | <stringliteral>;
|
ReservedShapeName
|
::=
|
Vea Nombres Reservados para obtener un listado reservado completo.
|
ShapeBody
|
::=
|
"{" <InitialisationAttributeAssignment>* <DrawingStatement>* <SubShape>* "}";
|
InitialisationAttributeAssignment
|
::=
|
<Attribute> "=" <Value> ";";
|
Attribute
|
::=
|
Vea Atributos de Forma para obtener un listado completo de nombres del atributo.
|
DrawingStatement
|
::=
|
<IfElseSection> | <Method>;
|
IfElseSection
|
::=
|
"if" "(" <QueryExpression> ")" <TrueSection> [<ElseSection>];
|
QueryExpression
|
::=
|
<QueryName> "(" <ParameterList> ")";
|
QueryName
|
::=
|
Vea Métodos de Consultaf para obtener un listado completo de los nombres de consulta.
|
TrueSection
|
::=
|
"{" <DrawingStatement>* "}"
|
ElseSection
|
::=
|
"else" "{" <DrawingStatement>* "}"
|
Method
|
::=
|
<MethodName> "(" <ParameterList> ")" ";";
|
MethodName
|
::=
|
Vea Métodos de Dibujo para un listado completo de nombres de métodos.
|