Browsable Ant Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: dsl/develop/ant/bruneliere/extracted
Source used for this grammar: Hugo Brunelière, AntScripts.ecore, version 1.0, 2007/11/08 [Atlantic]

Summary

Syntax

NamedElement ::=
	Attribute
NamedElement ::=
	Project
NamedElement ::=
	Target
NamedElement ::=
	TaskElement
CommentableElement ::=
	TaskElement
Project ::=
	[properties]::Property+ [targets]::Target+ [defaultTarget]::Target
Property ::=
	[name]::String [value]::String [location]::String [refid]::String [resource]::String [file]::String [url]::String [environment]::String [classpath]::String [classpathref]::String [prefix]::String
Target ::=
	[if]::String [unless]::String [tasks]::Task+ [depends]::Target+
TaskElement ::=
	Task
TaskElement ::=
	TaskParameter
Attribute ::=
	[value]::String
Task ::=
	[attributes]::Attribute+ [elements]::TaskElement+
TaskParameter ::=
	[attributes]::Attribute+ [elements]::TaskElement+
String ::=
	string

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []