Struct xswag_syntax_java::ast::CompilationUnit
[−]
[src]
pub struct CompilationUnit {
pub package: Option<Path>,
pub imports: Vec<Import>,
pub types: Vec<TypeDef>,
}A Java compilation unit. This is the goal symbol for the syntactic grammar.
Fields
package: Option<Path>
imports: Vec<Import>
types: Vec<TypeDef>
Trait Implementations
impl Debug for CompilationUnit[src]
impl Clone for CompilationUnit[src]
fn clone(&self) -> CompilationUnit
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more