- /**
- * Create a new instance of AST representation for a abstract syntax tree, performing minimal semantic analysis
- * to acquire dependency information.
- *
- * @param identifier
- * SourceIdentifier of yang schema source.
- * @param tree
- * ANTLR abstract syntax tree
- * @return A new representation instance.
- * @throws YangSyntaxErrorException
- * if we fail to extract dependency information.
- */
- public static ASTSchemaSource create(@Nonnull final SourceIdentifier identifier,
- @Nonnull final ParserRuleContext tree) throws YangSyntaxErrorException {
- return create(identifier, null, tree);
- }
-