This chapter comparatively analyzes Chinese-English child code-switching based on a dependency treebank and takes a comparison between child and adult code-switching. It is found that mixed-language sentences consistently demonstrate the longest mean sentence length in both groups; while children most frequently switch objects and adults favor switching attributives, both rarely switch subjects; nouns, pronouns, adjectives, and function words constitute the most commonly switched lexical categories; dependency distance analysis shows adverbials have the longest dependency distance while attributives the shortest for both; three structural factors – CS positioning, lexical distribution, and adjacent dependencies – account for the differences in dependency distance; six shared pragmatic functions emerge, including lexical gap-filling, emphasis, clarification, and directive speech. It highlights the systematic nature of code-switching across developmental stages.